diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsDelegate.java index fa830dde6..3a09e1cc6 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsDelegate.java @@ -238,11 +238,8 @@ public class PrefsDelegate extends DelegateBase { if ( AlertDialog.BUTTON_POSITIVE == button && action == Action.ENABLE_SMS_DO ) { - boolean enabled = (Boolean)params[0]; - if ( enabled ) { - XWPrefs.setSMSEnabled( m_activity, true ); - SMSCheckBoxPreference.setChecked(); - } + XWPrefs.setSMSEnabled( m_activity, true ); + SMSCheckBoxPreference.setChecked(); } else { super.dlgButtonClicked( action, button, params ); }