diff --git a/org.purplegraphite.code/lib/src/common/strings.dart b/org.purplegraphite.code/lib/src/common/strings.dart index 5fd6b0e..9d2a30c 100644 --- a/org.purplegraphite.code/lib/src/common/strings.dart +++ b/org.purplegraphite.code/lib/src/common/strings.dart @@ -1,7 +1,7 @@ class Strings { /// Application's version. /// Don't edit manually, use `/tools/update_version.sh`. - static const String applicationVersion = '0.5.0-aplha+2104101'; + static const String applicationVersion = '0.5.1-alpha+210410'; static const String applicationTitle = 'Snake code'; diff --git a/org.purplegraphite.code/lib/src/ui/screens/workspace_explorer.dart b/org.purplegraphite.code/lib/src/ui/screens/workspace_explorer.dart index 9a1cb0e..f2acfdf 100644 --- a/org.purplegraphite.code/lib/src/ui/screens/workspace_explorer.dart +++ b/org.purplegraphite.code/lib/src/ui/screens/workspace_explorer.dart @@ -152,13 +152,16 @@ class _WorkspaceExplorerScreenState extends State { var x = Directory.fromUri( Uri(path: object.absolutePath), ); - Navigator.pushNamed(context, BrowserScreenRoute, - arguments: x); + await Navigator.of(context).pushNamed( + WorkspaceExplorerScreenRoute, + arguments: x, + ); + await Navigator.of(context).pop(); } else if (object.entity is File) { final page = EditorTabPage(object); await controller.addPage(page); _toggleSelection(object.id); - Navigator.pop(context); + Navigator.of(context).pop(); } }, leading: getFileTypeIcon(object, isDark), diff --git a/org.purplegraphite.code/pubspec.yaml b/org.purplegraphite.code/pubspec.yaml index 4a940f6..de028f4 100644 --- a/org.purplegraphite.code/pubspec.yaml +++ b/org.purplegraphite.code/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.5.0-aplha+2104101 +version: 0.5.1-alpha+210410 environment: sdk: ">=2.7.0 <3.0.0"