remove unneeded channelId from preference (testing leftover)

This commit is contained in:
Markus Doits 2022-12-06 22:08:46 +01:00
parent c18662dd1a
commit b95af94893
No known key found for this signature in database
GPG key ID: 4D406BBC615201D1

View file

@ -191,7 +191,6 @@ class DetailSettingsActivity : AppCompatActivity() {
openChannelsPref.isVisible = subscription.dedicatedChannels
openChannelsPref.preferenceDataStore = object : PreferenceDataStore() { } // Dummy store to protect from accidentally overwriting
openChannelsPref.onPreferenceClickListener = Preference.OnPreferenceClickListener { _ ->
val channelId = notificationService.toChannelId(notificationService.dedicatedNotificationScope(subscription), 3)
val settingsIntent = Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra(Settings.EXTRA_APP_PACKAGE, requireContext().applicationContext.packageName)