mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
duh: we're storing whether it's disabled, so reverse boolean
This commit is contained in:
parent
7d47098947
commit
aab779f258
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue