diff --git a/packages/dart/npt_flutter/lib/features/profile/widgets/profile_popup_menu_button.dart b/packages/dart/npt_flutter/lib/features/profile/widgets/profile_popup_menu_button.dart index c5352b804..87985a6b4 100644 --- a/packages/dart/npt_flutter/lib/features/profile/widgets/profile_popup_menu_button.dart +++ b/packages/dart/npt_flutter/lib/features/profile/widgets/profile_popup_menu_button.dart @@ -110,6 +110,8 @@ class ProfilePopupMenuButton extends StatelessWidget { CustomSnackBar.notification(content: strings.profileRunningActionDeniedMessage); return; } + var state = context.read().state; + if (state is! ProfileLoadedState) return; showDialog( context: context, builder: (BuildContext context) { @@ -117,8 +119,6 @@ class ProfilePopupMenuButton extends StatelessWidget { message: strings.profileDeleteMessage, actionText: strings.delete, action: () { - var state = context.read().state; - if (state is! ProfileLoadedState) return; App.navState.currentContext ?.read() .add(ProfileListDeleteEvent(toDelete: [state.uuid])); diff --git a/packages/dart/npt_flutter/macos/Podfile.lock b/packages/dart/npt_flutter/macos/Podfile.lock index e47331eb8..baec81b66 100644 --- a/packages/dart/npt_flutter/macos/Podfile.lock +++ b/packages/dart/npt_flutter/macos/Podfile.lock @@ -87,4 +87,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367 -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/packages/dart/npt_flutter/macos/Runner.xcodeproj/project.pbxproj b/packages/dart/npt_flutter/macos/Runner.xcodeproj/project.pbxproj index 7db2b553f..b04608e9b 100644 --- a/packages/dart/npt_flutter/macos/Runner.xcodeproj/project.pbxproj +++ b/packages/dart/npt_flutter/macos/Runner.xcodeproj/project.pbxproj @@ -574,7 +574,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = "1.0.0+1"; + CURRENT_PROJECT_VERSION = "1.1.1+1"; DEVELOPMENT_TEAM = 5XUSS6C2DF; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Noports Desktop"; @@ -583,7 +583,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 1.1.1; PRODUCT_BUNDLE_IDENTIFIER = com.atsign.noports; PRODUCT_NAME = "NoPorts Desktop"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -714,7 +714,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = "1.0.0+1"; + CURRENT_PROJECT_VERSION = "1.1.1+1"; DEVELOPMENT_TEAM = 5XUSS6C2DF; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Noports Desktop"; @@ -723,7 +723,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 1.1.1; PRODUCT_BUNDLE_IDENTIFIER = com.atsign.noports; PRODUCT_NAME = "NoPorts Desktop"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -742,7 +742,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = "1.0.0+1"; + CURRENT_PROJECT_VERSION = "1.1.1+1"; DEVELOPMENT_TEAM = 5XUSS6C2DF; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Noports Desktop"; @@ -751,7 +751,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.0.0; + MARKETING_VERSION = 1.1.1; PRODUCT_BUNDLE_IDENTIFIER = com.atsign.noports; PRODUCT_NAME = "NoPorts Desktop"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/packages/dart/npt_flutter/pubspec.yaml b/packages/dart/npt_flutter/pubspec.yaml index 0c0d6861b..94918d32a 100644 --- a/packages/dart/npt_flutter/pubspec.yaml +++ b/packages/dart/npt_flutter/pubspec.yaml @@ -1,5 +1,5 @@ name: npt_flutter -description: "A new Flutter project." +description: "NoPorts Desktop app" # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: "none" # Remove this line if you wish to publish to pub.dev @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.1+2 +version: 1.1.1+1 environment: sdk: ^3.5.0 @@ -137,7 +137,7 @@ msix_config: publisher_display_name: Atsign identity_name: TheCompany.NoPortsDesktop publisher: CN=BBFE1D0B-F713-4C7F-B375-5EA851CBB1FF - msix_version: 1.0.0.0 + msix_version: 1.1.1.0 logo_path: "assets/logo.png" capabilities: internetClient store: true