Skip to content

Commit

Permalink
✨ Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsonwheels committed Feb 7, 2023
1 parent 9cfc32e commit 4ea070a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion App/Models/AppErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extension LoginErrors: LocalizedError {
public var recoverySuggestion: String? {
switch self {
case .invalidUsername:
return NSLocalizedString("Make your username has at least 3 characters and no spaces before, in, or after itself.", comment: "")
return NSLocalizedString("Make sure your username has at least 3 characters and no spaces before, in, or after itself.", comment: "")
case .invalidPassword(let isSigningUp):
var localizedString = NSLocalizedString("Your password needs to have at least 6 characters.", comment: "")
if isSigningUp {
Expand Down
2 changes: 1 addition & 1 deletion App/Models/GlobalViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ final class GlobalViewModel: NSObject, ObservableObject, URLSessionTaskDelegate
isSigningUp: Bool = false
) throws {
if let username,
username.firstMatch(of: try Regex("[\\s]")) != nil,
username.firstMatch(of: try Regex(" +")) != nil ||
username.count < 3
{
throw LoginErrors.invalidUsername
Expand Down
7 changes: 7 additions & 0 deletions App/Views/Settings/TipJarSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ struct TipJarSettingsView: View {
duration: 3
)
.confettiParticle(\.velocity, 600)
.toolbar {
ToolbarItem {
if self.isBusy {
ProgressView()
}
}
}
ForEach(self.iaps) { iap in
Button(action: {
Task {
Expand Down
24 changes: 12 additions & 12 deletions Iamages.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = 2VZNUT7D2E;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Widgets/Info.plist;
Expand All @@ -981,7 +981,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.0.1;
PRODUCT_BUNDLE_IDENTIFIER = me.jkelol111.Iamages.Widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -1003,7 +1003,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = 2VZNUT7D2E;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Widgets/Info.plist;
Expand All @@ -1015,7 +1015,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.0.1;
PRODUCT_BUNDLE_IDENTIFIER = me.jkelol111.Iamages.Widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -1036,7 +1036,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = 2VZNUT7D2E;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ShareExtension/Info.plist;
Expand All @@ -1048,7 +1048,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.0.1;
PRODUCT_BUNDLE_IDENTIFIER = me.jkelol111.Iamages.ShareExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -1068,7 +1068,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEVELOPMENT_TEAM = 2VZNUT7D2E;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ShareExtension/Info.plist;
Expand All @@ -1080,7 +1080,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.0.1;
PRODUCT_BUNDLE_IDENTIFIER = me.jkelol111.Iamages.ShareExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1215,7 +1215,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"App/Preview Content\"";
DEVELOPMENT_TEAM = 2VZNUT7D2E;
Expand All @@ -1240,7 +1240,7 @@
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.0.1;
PRODUCT_BUNDLE_IDENTIFIER = me.jkelol111.Iamages;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
Expand All @@ -1264,7 +1264,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 23;
CURRENT_PROJECT_VERSION = 24;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"App/Preview Content\"";
DEVELOPMENT_TEAM = 2VZNUT7D2E;
Expand All @@ -1289,7 +1289,7 @@
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.0.1;
PRODUCT_BUNDLE_IDENTIFIER = me.jkelol111.Iamages;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
Expand Down

0 comments on commit 4ea070a

Please sign in to comment.