fix(android): show password action only for locked channels

This commit is contained in:
Edison Jwa
2026-05-20 14:52:34 +09:00
parent 273eaf21c1
commit f8b6485390
8 changed files with 38 additions and 11 deletions
+4
View File
@@ -2021,12 +2021,14 @@ mod tests {
parent: chanora_protocol::ChannelId(0),
name: "a".into(),
order: 0,
has_password: false,
},
ChannelInfo {
id: chanora_protocol::ChannelId(2),
parent: chanora_protocol::ChannelId(0),
name: "b".into(),
order: 1,
has_password: false,
},
],
clients: vec![ClientInfo {
@@ -2057,12 +2059,14 @@ mod tests {
parent: chanora_protocol::ChannelId(0),
name: "b".into(),
order: 1,
has_password: false,
},
ChannelInfo {
id: chanora_protocol::ChannelId(1),
parent: chanora_protocol::ChannelId(0),
name: "a".into(),
order: 0,
has_password: false,
},
],
clients: vec![],