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

This commit is contained in:
Jeff DeCew
2021-08-13 18:58:44 +00:00
committed by Android (Google) Code Review

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() {