mirror of
https://github.com/m2049r/xmrwallet
synced 2025-01-07 15:16:24 +01:00
use default daemon ports if none supplied
This commit is contained in:
parent
a007810824
commit
a5527d4efd
@ -170,7 +170,7 @@ public class LoginFragment extends Fragment {
|
||||
});
|
||||
|
||||
loadPrefs();
|
||||
activityCallback.setSubtitle(getString(isMainNet()? R.string.connect_mainnet : R.string.connect_testnet));
|
||||
activityCallback.setSubtitle(getString(isMainNet() ? R.string.connect_mainnet : R.string.connect_testnet));
|
||||
|
||||
listView = (ListView) view.findViewById(R.id.list);
|
||||
ArrayAdapter<String> adapter = new ArrayAdapter<>(getActivity(),
|
||||
@ -361,6 +361,7 @@ public class LoginFragment extends Fragment {
|
||||
}
|
||||
} else {
|
||||
port = (testnet ? 28081 : 18081);
|
||||
daemonAddress = daemonAddress + ":" + port;
|
||||
}
|
||||
//Log.d(TAG, "DAEMON " + username + "/" + password + "/" + host + "/" + port);
|
||||
// if (android.os.Build.VERSION.SDK_INT > 9) {
|
||||
|
Loading…
Reference in New Issue
Block a user