Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
refactor: show notif helper func
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Mar 15, 2024
1 parent e64676e commit 27e7ad1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/common/components/components.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export 'balance_panel/balance.dart';
export 'snack_bar.dart';
export 'list/list.dart';
export 'property_item.dart';
export 'notification.dart';
9 changes: 9 additions & 0 deletions lib/common/components/notification.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import 'package:datadashwallet/core/core.dart';

showNotification(String title, String? text) {
AXSNotification().showNotification(title, text);
}

showLowPriorityNotification(String title, String? text) {
AXSNotification().showLowPriorityNotification(title, text);
}

0 comments on commit 27e7ad1

Please sign in to comment.