fix: Show add user button only for owners (#9)

This commit is contained in:
Deven Joshi
2021-02-26 18:16:49 +05:30
committed by GitHub
parent 049429b221
commit eb5a7350c8
+1 -1
View File
@@ -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: () {