remove unneeded channelId from preference (testing leftover)
This commit is contained in:
parent
c18662dd1a
commit
b95af94893
1 changed files with 0 additions and 1 deletions
|
@ -191,7 +191,6 @@ class DetailSettingsActivity : AppCompatActivity() {
|
||||||
openChannelsPref.isVisible = subscription.dedicatedChannels
|
openChannelsPref.isVisible = subscription.dedicatedChannels
|
||||||
openChannelsPref.preferenceDataStore = object : PreferenceDataStore() { } // Dummy store to protect from accidentally overwriting
|
openChannelsPref.preferenceDataStore = object : PreferenceDataStore() { } // Dummy store to protect from accidentally overwriting
|
||||||
openChannelsPref.onPreferenceClickListener = Preference.OnPreferenceClickListener { _ ->
|
openChannelsPref.onPreferenceClickListener = Preference.OnPreferenceClickListener { _ ->
|
||||||
val channelId = notificationService.toChannelId(notificationService.dedicatedNotificationScope(subscription), 3)
|
|
||||||
val settingsIntent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)
|
val settingsIntent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)
|
||||||
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||||
.putExtra(Settings.EXTRA_APP_PACKAGE, requireContext().applicationContext.packageName)
|
.putExtra(Settings.EXTRA_APP_PACKAGE, requireContext().applicationContext.packageName)
|
||||||
|
|
Loading…
Reference in a new issue