Fixes due to i2p.i2p-bote changes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user