fix: Removed block button
This commit is contained in:
@@ -137,18 +137,24 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
|||||||
onTap: () {},
|
onTap: () {},
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
_OptionListTile(
|
// _OptionListTile(
|
||||||
title: 'Block User',
|
// title: 'Block User',
|
||||||
leading: StreamSvgIcon.Icon_user_delete(
|
// leading: StreamSvgIcon.Icon_user_delete(
|
||||||
size: 24.0,
|
// size: 24.0,
|
||||||
color: Colors.black.withOpacity(0.5),
|
// color: Colors.black.withOpacity(0.5),
|
||||||
),
|
// ),
|
||||||
trailing: CupertinoSwitch(
|
// trailing: CupertinoSwitch(
|
||||||
value: true,
|
// value: widget.user.banned,
|
||||||
onChanged: (val) {},
|
// onChanged: (val) {
|
||||||
),
|
// if (widget.user.banned) {
|
||||||
onTap: () {},
|
// channel.channel.shadowBan(widget.user.id, {});
|
||||||
),
|
// } else {
|
||||||
|
// channel.channel.unbanUser(widget.user.id);
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
// ),
|
||||||
|
// onTap: () {},
|
||||||
|
// ),
|
||||||
_OptionListTile(
|
_OptionListTile(
|
||||||
title: '615 Photos & Videos',
|
title: '615 Photos & Videos',
|
||||||
leading: StreamSvgIcon.pictures(
|
leading: StreamSvgIcon.pictures(
|
||||||
|
|||||||
Reference in New Issue
Block a user