fix: Show add user button only for owners (#9)
This commit is contained in:
@@ -142,7 +142,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
||||
),
|
||||
centerTitle: true,
|
||||
actions: [
|
||||
if (!channel.channel.isDistinct)
|
||||
if (!channel.channel.isDistinct && isOwner)
|
||||
StreamNeumorphicButton(
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
|
||||
Reference in New Issue
Block a user