Fixes due to i2p.i2p-bote changes

This commit is contained in:
str4d
2016-05-29 05:13:55 +00:00
parent fcd0ed2499
commit aa93eaa9fa
2 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ import i2p.bote.network.BannedPeer;
import i2p.bote.network.DhtPeerStats;
import i2p.bote.network.RelayPeer;
import static i2p.bote.Util._;
import static i2p.bote.Util._t;
public class NetworkInfoFragment extends Fragment {
private Exception mConnectError;
@@ -110,7 +110,7 @@ public class NetworkInfoFragment extends Fragment {
} else {
int reachable = 0;
for (List<String> row : dhtStats.getData()) {
if (_("No").equals(row.get(4)))
if (_t("No").equals(row.get(4)))
reachable += 1;
}
int unreachable = dhtStats.getData().size() - reachable;

View File

@@ -22,6 +22,7 @@ import com.mikepenz.google_material_typeface_library.GoogleMaterial;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.util.List;
import java.util.Properties;
import i2p.bote.I2PBote;
import i2p.bote.StatusListener;
@@ -394,6 +395,7 @@ public class EditIdentityFragment extends EditPictureFragment {
(String) params[5],
(String) params[6],
(String) params[7],
new Properties(),
(Boolean) params[8],
lsnr);
lsnr.updateStatus("Saving identity");