mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-20 10:43:22 +00:00
Explain why SMS fallback is disabled when it is
This commit is contained in:
@@ -210,8 +210,10 @@ public class ApplicationPreferencesActivity extends PassphraseRequiredSherlockPr
|
||||
if (Util.isDefaultSmsProvider(this) || !TextSecurePreferences.isPushRegistered(this)) {
|
||||
allowSmsPreference.setEnabled(false);
|
||||
allowSmsPreference.setChecked(true);
|
||||
allowSmsPreference.setSummary(R.string.preferences__allow_sms_fallback_disabled_reason);
|
||||
} else {
|
||||
allowSmsPreference.setEnabled(true);
|
||||
allowSmsPreference.setSummary(R.string.preferences__send_and_receive_sms_messages_when_push_is_not_available);
|
||||
}
|
||||
} else {
|
||||
if (TextSecurePreferences.isInterceptAllMmsEnabled(this) ||
|
||||
@@ -220,8 +222,10 @@ public class ApplicationPreferencesActivity extends PassphraseRequiredSherlockPr
|
||||
{
|
||||
allowSmsPreference.setEnabled(false);
|
||||
allowSmsPreference.setChecked(true);
|
||||
allowSmsPreference.setSummary(R.string.preferences__allow_sms_fallback_disabled_reason);
|
||||
} else {
|
||||
allowSmsPreference.setEnabled(true);
|
||||
allowSmsPreference.setSummary(R.string.preferences__send_and_receive_sms_messages_when_push_is_not_available);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user