Highlight the channel in settings when tapping "See More" in the "turn off channels" half-sheet.

Fixes: 140956160
Test: manual
Change-Id: I00d6d1c3a9910882a5cf1b0e29b4d4a54f1ed4f7
This commit is contained in:
Jeff DeCew
2021-08-12 12:09:38 -04:00
parent c20398b8d1
commit 014f9bc968

View File

@@ -280,7 +280,8 @@ class ChannelEditorDialogController @Inject constructor(
@VisibleForTesting
fun launchSettings(sender: View) {
onSettingsClickListener?.onClick(sender, null, appUid!!)
val channel = if (providedChannels.size == 1) providedChannels[0] else null
onSettingsClickListener?.onClick(sender, channel, appUid!!)
}
private fun initDialog() {