mirror of
https://github.com/foss42/apidash.git
synced 2025-06-05 10:20:44 +08:00
Update his_sidebar_header.dart
This commit is contained in:
@ -42,13 +42,11 @@ class HistorySidebarHeader extends ConsumerWidget {
|
|||||||
.clearAllHistory();
|
.clearAllHistory();
|
||||||
sm.showSnackBar(getSnackBar(
|
sm.showSnackBar(getSnackBar(
|
||||||
kMsgClearHistorySuccess,
|
kMsgClearHistorySuccess,
|
||||||
small: false,
|
|
||||||
));
|
));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
debugPrint("Clear History Stack: $e");
|
debugPrint("Clear History Stack: $e");
|
||||||
sm.showSnackBar(getSnackBar(
|
sm.showSnackBar(getSnackBar(
|
||||||
kMsgClearHistoryError,
|
kMsgClearHistoryError,
|
||||||
small: false,
|
|
||||||
color: kColorRed,
|
color: kColorRed,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user