chore: Switch from bottoast to flushbar
This commit is contained in:
parent
4cc4800035
commit
e621a83406
15 changed files with 79 additions and 44 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import 'package:bot_toast/bot_toast.dart';
|
||||
import 'package:flushbar/flushbar_helper.dart';
|
||||
import 'package:circular_check_box/circular_check_box.dart';
|
||||
import 'package:famedlysdk/famedlysdk.dart';
|
||||
import 'package:fluffychat/utils/matrix_locals.dart';
|
||||
|
|
@ -43,7 +43,9 @@ class ChatListItem extends StatelessWidget {
|
|||
}
|
||||
|
||||
if (room.membership == Membership.ban) {
|
||||
BotToast.showText(text: L10n.of(context).youHaveBeenBannedFromThisChat);
|
||||
await FlushbarHelper.createError(
|
||||
message: L10n.of(context).youHaveBeenBannedFromThisChat)
|
||||
.show(context);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue