code formatting
This commit is contained in:
parent
99a939ab12
commit
a94d750b73
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class DetailSettingsActivity : AppCompatActivity() {
|
||||||
pref?.preferenceDataStore = object : PreferenceDataStore() {
|
pref?.preferenceDataStore = object : PreferenceDataStore() {
|
||||||
override fun putBoolean(key: String?, value: Boolean) {
|
override fun putBoolean(key: String?, value: Boolean) {
|
||||||
save(subscription.copy(dedicatedChannels = value))
|
save(subscription.copy(dedicatedChannels = value))
|
||||||
if(value) {
|
if (value) {
|
||||||
notificationService.createSubscriptionNotificationChannels(subscription)
|
notificationService.createSubscriptionNotificationChannels(subscription)
|
||||||
} else {
|
} else {
|
||||||
notificationService.deleteSubscriptionNotificationChannels(subscription)
|
notificationService.deleteSubscriptionNotificationChannels(subscription)
|
||||||
|
|
Loading…
Reference in a new issue