mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2026-01-25 14:47:05 +00:00
change notification sound dialog & icon
This commit is contained in:
parent
76af52b4d5
commit
f45ffa20e1
@ -14,7 +14,7 @@ class NotificationSoundPresenter : BasePresenter<NotificationSoundMvp.View>(), N
|
||||
manageObservable(Observable.fromPublisher<NotificationSoundModel> { s ->
|
||||
val sounds = FileHelper.getNotificationSounds(App.getInstance(), default)
|
||||
sounds.filterNotNull()
|
||||
.sortedBy { it.isSelected }
|
||||
.sortedBy { !it.isSelected }
|
||||
.onEach { s.onNext(it) }
|
||||
s.onComplete()
|
||||
}.doOnNext({ t -> sendToView { it.onAddSound(t) } })
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
<Preference
|
||||
android:dependency="notificationSound"
|
||||
android:icon="@drawable/ic_ring_sound"
|
||||
android:icon="@drawable/ic_ring"
|
||||
android:key="notification_sound_path"
|
||||
android:ringtoneType="notification"
|
||||
android:showDefault="true"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user