Fixed issues with new full node behaviour

This commit is contained in:
2017-05-08 20:28:43 +02:00
parent 263fc8893f
commit 73944b5883
3 changed files with 6 additions and 4 deletions

View File

@@ -387,8 +387,8 @@ public class MainActivity extends AppCompatActivity
@Override
protected void onResume() {
updateUnread();
if (Preferences.isFullNodeActive(this)){
checkAndStartNode();
if (Preferences.isFullNodeActive(this) && Preferences.isConnectionAllowed(MainActivity.this)) {
startService(new Intent(this, BitmessageService.class));
}
updateNodeSwitch();
Singleton.getMessageListener(this).resetNotification();