change notification sound dialog & icon

This commit is contained in:
kosh 2017-07-23 21:36:35 +08:00
parent 76af52b4d5
commit f45ffa20e1
2 changed files with 2 additions and 2 deletions

View File

@ -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) } })

View File

@ -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"