Skip to content

Commit

Permalink
Textfield fixes for keyboard in Editing
Browse files Browse the repository at this point in the history
  • Loading branch information
Visual-Studio-Coder committed Apr 18, 2024
1 parent 3ff8e72 commit 36d89f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions QRSharePro.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
CODE_SIGN_ENTITLEMENTS = QRSharePro/QRSharePro.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
DEVELOPMENT_TEAM = L3P446LNNP;
DEVELOPMENT_TEAM = SU5789R8HD;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QRSharePro/Info.plist;
Expand All @@ -580,7 +580,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.aaronhma.QRShare;
PRODUCT_BUNDLE_IDENTIFIER = com.click.QRShare;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
Expand All @@ -603,7 +603,7 @@
CODE_SIGN_ENTITLEMENTS = QRSharePro/QRSharePro.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
DEVELOPMENT_TEAM = L3P446LNNP;
DEVELOPMENT_TEAM = SU5789R8HD;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = QRSharePro/Info.plist;
Expand All @@ -622,7 +622,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.aaronhma.QRShare;
PRODUCT_BUNDLE_IDENTIFIER = com.click.QRShare;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
Expand All @@ -640,7 +640,7 @@
CODE_SIGN_ENTITLEMENTS = Share/Share.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = L3P446LNNP;
DEVELOPMENT_TEAM = SU5789R8HD;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Share/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "QR Share";
Expand All @@ -652,7 +652,7 @@
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.aaronhma.QRShare.Share;
PRODUCT_BUNDLE_IDENTIFIER = com.click.QRShare.Share;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
Expand All @@ -671,7 +671,7 @@
CODE_SIGN_ENTITLEMENTS = Share/Share.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = L3P446LNNP;
DEVELOPMENT_TEAM = SU5789R8HD;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Share/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "QR Share";
Expand All @@ -683,7 +683,7 @@
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.aaronhma.QRShare.Share;
PRODUCT_BUNDLE_IDENTIFIER = com.click.QRShare.Share;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
Expand Down
3 changes: 2 additions & 1 deletion QRSharePro/HistoryDetailInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct HistoryDetailInfo: View {
.padding()
.background(.gray.opacity(0.2))
.clipShape(RoundedRectangle(cornerRadius: 15))
.keyboardType(.webSearch)
.keyboardType(.default)
.autocapitalization(.none)
.autocorrectionDisabled()
.padding(.horizontal)
Expand Down Expand Up @@ -128,6 +128,7 @@ struct HistoryDetailInfo: View {
.alert("You'll need to remove \(qrCode.text.count - 3000) characters first!", isPresented: $showExceededLimitAlert) {
}
}
.scrollDismissesKeyboard(.interactively)
}
.onTapGesture {
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
Expand Down

0 comments on commit 36d89f1

Please sign in to comment.