show tor config in paranoid mode

This commit is contained in:
Daniel Gultsch 2015-12-02 15:34:09 +01:00
parent 02c6793ca9
commit 025cbf7d44

View file

@ -491,7 +491,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
}
}
}
this.mUseTor = getPreferences().getBoolean("use_tor", false);
this.mUseTor = Config.PARANOID_MODE || getPreferences().getBoolean("use_tor", false);
this.mNamePort.setVisibility(mUseTor ? View.VISIBLE : View.GONE);
}