fix(android): show password action only for locked channels
This commit is contained in:
@@ -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![],
|
||||
|
||||
Reference in New Issue
Block a user