Skip to content

Commit

Permalink
fix: missing default task error dialog type
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanonymous-GitHub committed Feb 18, 2023
1 parent 244f220 commit a8c43fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/task/dialog_task.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ignore_for_file: import_of_legacy_library_into_null_safe

import 'package:awesome_dialog/awesome_dialog.dart';
import 'package:connectivity/connectivity.dart';
import 'package:flutter_app/src/r.dart';
import 'package:flutter_app/ui/other/msg_dialog.dart';
Expand Down Expand Up @@ -32,6 +33,7 @@ class DialogTask<T> extends Task<T> {
Future<TaskStatus> onError(String message) async {
final parameter = MsgDialogParameter(
desc: message,
dialogType: DialogType.warning,
);
return await onErrorParameter(parameter);
}
Expand Down

0 comments on commit a8c43fe

Please sign in to comment.