show current node (#511)

& bump version
merge-requests/3/head
m2049r 6 years ago committed by GitHub
parent c04b192753
commit 9d1827ff0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,8 +7,8 @@ android {
applicationId "com.m2049r.xmrwallet"
minSdkVersion 21
targetSdkVersion 28
versionCode 160
versionName "1.10.10 'Node-O-matiC'"
versionCode 162
versionName "1.10.12 'Node-O-matiC'"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {

@ -130,8 +130,11 @@ public class LoginFragment extends Fragment implements WalletInfoAdapter.OnInter
activityCallback.setTitle(null);
activityCallback.setToolbarButton(Toolbar.BUTTON_CREDITS);
activityCallback.showNet();
if (activityCallback.getNode() == null)
NodeInfo node = activityCallback.getNode();
if (node == null)
findBestNode();
else
showNode(node);
}
@Override

Loading…
Cancel
Save