From 6d3056a0f2a526ada0cf7ea233cef2a01a83f541 Mon Sep 17 00:00:00 2001 From: "daniel.roek" Date: Wed, 24 Mar 2021 10:56:24 +0100 Subject: [PATCH 1/5] Added if statement --- packages/quick_actions/quick_actions/example/lib/main.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/quick_actions/quick_actions/example/lib/main.dart b/packages/quick_actions/quick_actions/example/lib/main.dart index 3ff6528f3565..14b625f62ed4 100644 --- a/packages/quick_actions/quick_actions/example/lib/main.dart +++ b/packages/quick_actions/quick_actions/example/lib/main.dart @@ -63,7 +63,9 @@ class _MyHomePageState extends State { icon: 'ic_launcher'), ]).then((value) { setState(() { - shortcut = "actions ready"; + if(shortcut == 'no action set') { + shortcut = "actions ready"; + } }); }); } From 48eed74a6475f200b2313186f9dfccc993452428 Mon Sep 17 00:00:00 2001 From: "daniel.roek" Date: Wed, 24 Mar 2021 10:56:26 +0100 Subject: [PATCH 2/5] Added if statement --- packages/quick_actions/quick_actions/example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quick_actions/quick_actions/example/lib/main.dart b/packages/quick_actions/quick_actions/example/lib/main.dart index 14b625f62ed4..6c458b43cca1 100644 --- a/packages/quick_actions/quick_actions/example/lib/main.dart +++ b/packages/quick_actions/quick_actions/example/lib/main.dart @@ -63,7 +63,7 @@ class _MyHomePageState extends State { icon: 'ic_launcher'), ]).then((value) { setState(() { - if(shortcut == 'no action set') { + if (shortcut == 'no action set') { shortcut = "actions ready"; } }); From 1898f979170a2553bfde762210d87d97ba207650 Mon Sep 17 00:00:00 2001 From: "daniel.roek" Date: Wed, 24 Mar 2021 11:03:54 +0100 Subject: [PATCH 3/5] Updated version --- packages/quick_actions/quick_actions/CHANGELOG.md | 4 ++++ packages/quick_actions/quick_actions/pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/quick_actions/quick_actions/CHANGELOG.md b/packages/quick_actions/quick_actions/CHANGELOG.md index 276ddfbf24c4..5f192825cacf 100644 --- a/packages/quick_actions/quick_actions/CHANGELOG.md +++ b/packages/quick_actions/quick_actions/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.0+1 + +* Updated example app implementation. + ## 0.5.0 * Migrate to null safety. diff --git a/packages/quick_actions/quick_actions/pubspec.yaml b/packages/quick_actions/quick_actions/pubspec.yaml index ed6555833b83..71accce09fcf 100644 --- a/packages/quick_actions/quick_actions/pubspec.yaml +++ b/packages/quick_actions/quick_actions/pubspec.yaml @@ -2,7 +2,7 @@ name: quick_actions description: Flutter plugin for creating shortcuts on home screen, also known as Quick Actions on iOS and App Shortcuts on Android. homepage: https://github.com/flutter/plugins/tree/master/packages/quick_actions -version: 0.5.0 +version: 0.5.0+1 flutter: plugin: From ba3bdb2f3fc3870cf0e0f94f759ca817bc564030 Mon Sep 17 00:00:00 2001 From: "daniel.roek" Date: Wed, 24 Mar 2021 11:05:03 +0100 Subject: [PATCH 4/5] Converted multi-quote to single quote --- packages/quick_actions/quick_actions/example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quick_actions/quick_actions/example/lib/main.dart b/packages/quick_actions/quick_actions/example/lib/main.dart index 6c458b43cca1..277bee5a5eaa 100644 --- a/packages/quick_actions/quick_actions/example/lib/main.dart +++ b/packages/quick_actions/quick_actions/example/lib/main.dart @@ -64,7 +64,7 @@ class _MyHomePageState extends State { ]).then((value) { setState(() { if (shortcut == 'no action set') { - shortcut = "actions ready"; + shortcut = 'actions ready'; } }); }); From cd1a95d2eec0c548340533c16f1b72984ac9f256 Mon Sep 17 00:00:00 2001 From: "daniel.roek" Date: Wed, 24 Mar 2021 11:05:23 +0100 Subject: [PATCH 5/5] Converted multi-quote to single quote --- packages/quick_actions/quick_actions/example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quick_actions/quick_actions/example/lib/main.dart b/packages/quick_actions/quick_actions/example/lib/main.dart index 277bee5a5eaa..8e47d16683dd 100644 --- a/packages/quick_actions/quick_actions/example/lib/main.dart +++ b/packages/quick_actions/quick_actions/example/lib/main.dart @@ -32,7 +32,7 @@ class MyHomePage extends StatefulWidget { } class _MyHomePageState extends State { - String shortcut = "no action set"; + String shortcut = 'no action set'; @override void initState() {