fix(android): prompt from locked channel rows

This commit is contained in:
Edison Jwa
2026-05-20 14:52:34 +09:00
parent f8b6485390
commit 48a38dba46
+4 -1
View File
@@ -2160,6 +2160,7 @@ class _SnapshotView extends StatelessWidget {
? null ? null
: () => onJoinChannelWithPassword(ch), : () => onJoinChannelWithPassword(ch),
), ),
if (!ch.hasPassword)
IconButton( IconButton(
icon: Icon( icon: Icon(
ch.id == pendingVoiceChannelId ch.id == pendingVoiceChannelId
@@ -2182,7 +2183,9 @@ class _SnapshotView extends StatelessWidget {
!canJoinVoiceChannel || !canJoinVoiceChannel ||
ch.id == currentVoiceChannelId ch.id == currentVoiceChannelId
? null ? null
: () => onJoinChannel(ch), : () => ch.hasPassword
? onJoinChannelWithPassword(ch)
: onJoinChannel(ch),
), ),
), ),
for (final cl in byChannel[ch.id] ?? const <rust.BridgeClient>[]) for (final cl in byChannel[ch.id] ?? const <rust.BridgeClient>[])