Skip to content

Commit b75068a

Browse files
committed
updated for v1.2.0
1 parent fa1fc87 commit b75068a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/lib/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class _MyAppState extends State<MyApp> {
1818
@override
1919
void initState() {
2020
super.initState();
21-
flutterShortcuts.initialize((String incomingAction) {
21+
flutterShortcuts.initialize(debug: true);
22+
flutterShortcuts.listenAction((String incomingAction) {
2223
setState(() {
2324
action = incomingAction;
2425
});

0 commit comments

Comments
 (0)