duh: we're storing whether it's disabled, so reverse boolean

This commit is contained in:
Eric House 2016-06-23 06:27:01 -07:00
parent 7d47098947
commit aab779f258

View file

@ -173,7 +173,7 @@ public class RelayService extends XWService
}
public static void setEnabled( Context context, boolean enabled ) {
XWPrefs.setPrefsBoolean( context, R.string.key_disable_relay, enabled );
XWPrefs.setPrefsBoolean( context, R.string.key_disable_relay, !enabled );
enabledChanged( context );
}