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:cached_network_image/cached_network_image.dart';
|
||||
import 'package:famedlysdk/famedlysdk.dart';
|
||||
import 'package:file_picker_cross/file_picker_cross.dart';
|
||||
|
|
@ -449,7 +449,9 @@ class _EmoteImagePickerState extends State<_EmoteImagePicker> {
|
|||
),
|
||||
onPressed: () async {
|
||||
if (kIsWeb) {
|
||||
BotToast.showText(text: L10n.of(context).notSupportedInWeb);
|
||||
await FlushbarHelper.createError(
|
||||
message: L10n.of(context).notSupportedInWeb)
|
||||
.show(context);
|
||||
return;
|
||||
}
|
||||
MatrixFile file;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue