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,
|
centerTitle: true,
|
||||||
actions: [
|
actions: [
|
||||||
if (!channel.channel.isDistinct)
|
if (!channel.channel.isDistinct && isOwner)
|
||||||
StreamNeumorphicButton(
|
StreamNeumorphicButton(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|||||||
Reference in New Issue
Block a user