Skip to content

Commit

Permalink
Merge pull request #1583 from atsign-foundation/fix-profile-single-de…
Browse files Browse the repository at this point in the history
…lete

fix: profile single delete
  • Loading branch information
XavierChanth authored Dec 1, 2024
2 parents 3cf62d1 + b1cbeea commit 8876d50
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ class ProfilePopupMenuButton extends StatelessWidget {
CustomSnackBar.notification(content: strings.profileRunningActionDeniedMessage);
return;
}
var state = context.read<ProfileBloc>().state;
if (state is! ProfileLoadedState) return;
showDialog(
context: context,
builder: (BuildContext context) {
return ConfirmationDialog(
message: strings.profileDeleteMessage,
actionText: strings.delete,
action: () {
var state = context.read<ProfileBloc>().state;
if (state is! ProfileLoadedState) return;
App.navState.currentContext
?.read<ProfileListBloc>()
.add(ProfileListDeleteEvent(toDelete: [state.uuid]));
Expand Down
2 changes: 1 addition & 1 deletion packages/dart/npt_flutter/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
12 changes: 6 additions & 6 deletions packages/dart/npt_flutter/macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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 = "";
Expand Down Expand Up @@ -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";
Expand All @@ -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 = "";
Expand All @@ -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";
Expand All @@ -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 = "";
Expand Down
6 changes: 3 additions & 3 deletions packages/dart/npt_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8876d50

Please sign in to comment.