mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 22:49:42 +00:00
Fix "Silent" summary for ringtone preference
fixes #3962 Closes #4441 //FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
a65ade5366
commit
6a99c6c4ac
@@ -59,7 +59,7 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
|
||||
String value = (String) newValue;
|
||||
|
||||
if (TextUtils.isEmpty(value)) {
|
||||
preference.setSummary(R.string.preferences__default);
|
||||
preference.setSummary(R.string.preferences__silent);
|
||||
} else {
|
||||
Ringtone tone = RingtoneManager.getRingtone(getActivity(), Uri.parse(value));
|
||||
if (tone != null) {
|
||||
|
||||
Reference in New Issue
Block a user