File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/content_management/view Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import 'package:ht_dashboard/shared/constants/pagination_constants.dart';
8
8
import 'package:ht_dashboard/shared/shared.dart' ;
9
9
import 'package:ht_data_repository/ht_data_repository.dart' ;
10
10
import 'package:ht_shared/ht_shared.dart' ;
11
+ import 'package:ht_ui_kit/ht_ui_kit.dart' ;
11
12
12
13
/// {@template create_topic_page}
13
14
/// A page for creating a new topic.
@@ -92,7 +93,7 @@ class _CreateTopicViewState extends State<_CreateTopicView> {
92
93
..hideCurrentSnackBar ()
93
94
..showSnackBar (
94
95
SnackBar (
95
- content: Text (state.errorMessage ?? l10n.unknownError ),
96
+ content: Text (state.exception ! . toFriendlyMessage (context) ),
96
97
backgroundColor: Theme .of (context).colorScheme.error,
97
98
),
98
99
);
You can’t perform that action at this time.
0 commit comments