remove add member for distinct channels
This commit is contained in:
@@ -137,20 +137,21 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
|||||||
),
|
),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
actions: [
|
actions: [
|
||||||
StreamNeumorphicButton(
|
if (!channel.channel.isDistinct)
|
||||||
child: InkWell(
|
StreamNeumorphicButton(
|
||||||
onTap: () {
|
child: InkWell(
|
||||||
_buildAddUserModal(context);
|
onTap: () {
|
||||||
},
|
_buildAddUserModal(context);
|
||||||
child: Padding(
|
},
|
||||||
padding: const EdgeInsets.all(8.0),
|
child: Padding(
|
||||||
child: StreamSvgIcon.userAdd(
|
padding: const EdgeInsets.all(8.0),
|
||||||
color: StreamChatTheme.of(context)
|
child: StreamSvgIcon.userAdd(
|
||||||
.colorTheme
|
color: StreamChatTheme.of(context)
|
||||||
.accentBlue),
|
.colorTheme
|
||||||
|
.accentBlue),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
body: ListView(
|
body: ListView(
|
||||||
|
|||||||
Reference in New Issue
Block a user