mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-09 02:32:20 +00:00
@@ -137,8 +137,9 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme
|
|||||||
NotificationChannels.updateMessageRingtone(getContext(), uri);
|
NotificationChannels.updateMessageRingtone(getContext(), uri);
|
||||||
TextSecurePreferences.removeNotificationRingtone(getContext());
|
TextSecurePreferences.removeNotificationRingtone(getContext());
|
||||||
} else {
|
} else {
|
||||||
NotificationChannels.updateMessageRingtone(getContext(), uri);
|
uri = uri == null ? Uri.EMPTY : uri;
|
||||||
TextSecurePreferences.setNotificationRingtone(getContext(), uri != null ? uri.toString() : Uri.EMPTY.toString());
|
NotificationChannels.updateMessageRingtone(getContext(), uri );
|
||||||
|
TextSecurePreferences.setNotificationRingtone(getContext(), uri.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
initializeRingtoneSummary(findPreference(TextSecurePreferences.RINGTONE_PREF));
|
initializeRingtoneSummary(findPreference(TextSecurePreferences.RINGTONE_PREF));
|
||||||
|
|||||||
Reference in New Issue
Block a user