mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Fix several settings issues.
This commit is contained in:
@@ -212,7 +212,7 @@ public final class AvatarImageView extends AppCompatImageView {
|
||||
setImageDrawable(unknownRecipientDrawable);
|
||||
}
|
||||
|
||||
super.setOnClickListener(listener);
|
||||
disableQuickContact();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -31,8 +31,9 @@ class NotificationsSettingsViewModel(private val sharedPreferences: SharedPrefer
|
||||
}
|
||||
|
||||
fun setMessageNotificationsSound(sound: Uri?) {
|
||||
SignalStore.settings().messageNotificationSound = sound ?: Uri.EMPTY
|
||||
NotificationChannels.updateMessageRingtone(ApplicationDependencies.getApplication(), sound)
|
||||
val messageSound = sound ?: Uri.EMPTY
|
||||
SignalStore.settings().messageNotificationSound = messageSound
|
||||
NotificationChannels.updateMessageRingtone(ApplicationDependencies.getApplication(), messageSound)
|
||||
store.update { getState() }
|
||||
}
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ class TextPreference(
|
||||
) : PreferenceModel<TextPreference>(title = title, summary = summary)
|
||||
|
||||
class DividerPreference : PreferenceModel<DividerPreference>() {
|
||||
override fun areItemsTheSame(newItem: DividerPreference) = false
|
||||
override fun areItemsTheSame(newItem: DividerPreference) = true
|
||||
}
|
||||
|
||||
class RadioListPreference(
|
||||
|
||||
Reference in New Issue
Block a user