From c7625d9b3d20abbdffb25758b3960822964ee726 Mon Sep 17 00:00:00 2001 From: aaaa Date: Sat, 2 Mar 2024 18:03:20 +0900 Subject: [PATCH] userReviewRquestTab // ver1.1.1 releaseCandidate2 --- SpatialClock.xcodeproj/project.pbxproj | 4 +++ .../Localizable.xcstrings" | 30 +++++++++++++++++ ...\237\233\240\357\270\217SettingMenu.swift" | 1 + ...0\237\233\240\357\270\217RequestTab.swift" | 32 +++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 "SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217Tabs/\360\237\233\240\357\270\217RequestTab.swift" diff --git a/SpatialClock.xcodeproj/project.pbxproj b/SpatialClock.xcodeproj/project.pbxproj index e1c90c8..057aa31 100644 --- a/SpatialClock.xcodeproj/project.pbxproj +++ b/SpatialClock.xcodeproj/project.pbxproj @@ -13,6 +13,7 @@ 160786DC2B5526BA00E2B2CA /* 🛠️SettingButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 160786DB2B5526BA00E2B2CA /* 🛠️SettingButton.swift */; }; 16267B462B578836000CA8AD /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 16267B452B578836000CA8AD /* Localizable.xcstrings */; }; 16267B552B57D496000CA8AD /* InfoPlist.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 16267B542B57D496000CA8AD /* InfoPlist.xcstrings */; }; + 16359E292B931EE5004CC792 /* 🛠️RequestTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16359E282B931EE4004CC792 /* 🛠️RequestTab.swift */; }; 164C77FB2B565D6C008FF872 /* 🛠️TipsTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = 164C77FA2B565D6C008FF872 /* 🛠️TipsTab.swift */; }; 164C77FF2B565DFC008FF872 /* 🛠️ClockTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = 164C77FE2B565DFC008FF872 /* 🛠️ClockTab.swift */; }; 164C78012B565E0A008FF872 /* 🛠️VisualTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = 164C78002B565E0A008FF872 /* 🛠️VisualTab.swift */; }; @@ -87,6 +88,7 @@ 16267B482B5788AB000CA8AD /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 16267B4A2B5791FB000CA8AD /* appstore_badge.svg */ = {isa = PBXFileReference; lastKnownFileType = text; path = appstore_badge.svg; sourceTree = ""; }; 16267B542B57D496000CA8AD /* InfoPlist.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = InfoPlist.xcstrings; sourceTree = ""; }; + 16359E282B931EE4004CC792 /* 🛠️RequestTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🛠️RequestTab.swift"; sourceTree = ""; }; 164C77FA2B565D6C008FF872 /* 🛠️TipsTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🛠️TipsTab.swift"; sourceTree = ""; }; 164C77FE2B565DFC008FF872 /* 🛠️ClockTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🛠️ClockTab.swift"; sourceTree = ""; }; 164C78002B565E0A008FF872 /* 🛠️VisualTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "🛠️VisualTab.swift"; sourceTree = ""; }; @@ -158,6 +160,7 @@ 16891EB22B7AF43600C6F0B3 /* 🛠️RestTab.swift */, 164C77FA2B565D6C008FF872 /* 🛠️TipsTab.swift */, 16891EC42B7B0A8300C6F0B3 /* 🛠️AboutTab.swift */, + 16359E282B931EE4004CC792 /* 🛠️RequestTab.swift */, ); path = "🛠️Tabs"; sourceTree = ""; @@ -339,6 +342,7 @@ 160786D82B5512EB00E2B2CA /* 🥽AppModel.swift in Sources */, 16F828702B560FBB00A29476 /* 💾Option.swift in Sources */, 160786DC2B5526BA00E2B2CA /* 🛠️SettingButton.swift in Sources */, + 16359E292B931EE5004CC792 /* 🛠️RequestTab.swift in Sources */, 16F8286E2B560D8700A29476 /* 💾Key.swift in Sources */, 164C77FF2B565DFC008FF872 /* 🛠️ClockTab.swift in Sources */, ); diff --git "a/SpatialClock/Supporting files/\360\237\214\220Localization/Localizable.xcstrings" "b/SpatialClock/Supporting files/\360\237\214\220Localization/Localizable.xcstrings" index 9385461..de6fe6b 100644 --- "a/SpatialClock/Supporting files/\360\237\214\220Localization/Localizable.xcstrings" +++ "b/SpatialClock/Supporting files/\360\237\214\220Localization/Localizable.xcstrings" @@ -31,6 +31,16 @@ } } }, + "App Store\nreview\nPLEASE!!!" : { + "localizations" : { + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "App Storeで\nレビュー\nしてください!" + } + } + } + }, "Battery" : { "localizations" : { "ja" : { @@ -151,6 +161,16 @@ } } }, + "Go to App Store" : { + "localizations" : { + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "App Storeに移動" + } + } + } + }, "heavy" : { "localizations" : { "ja" : { @@ -291,6 +311,16 @@ } } }, + "Request" : { + "localizations" : { + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "お願い" + } + } + } + }, "Reserve direct-touch" : { "localizations" : { "ja" : { diff --git "a/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217SettingMenu.swift" "b/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217SettingMenu.swift" index 73b01c2..8a88f0b 100644 --- "a/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217SettingMenu.swift" +++ "b/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217SettingMenu.swift" @@ -9,6 +9,7 @@ struct 🛠️SettingMenu: View { 🛠️RestTab() 🛠️TipsTab() 🛠️AboutTab() + 🛠️RequestTab() } .frame(width: 520, height: 600) } diff --git "a/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217Tabs/\360\237\233\240\357\270\217RequestTab.swift" "b/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217Tabs/\360\237\233\240\357\270\217RequestTab.swift" new file mode 100644 index 0000000..1cf1d65 --- /dev/null +++ "b/SpatialClock/\360\237\233\240\357\270\217Setting/\360\237\233\240\357\270\217Tabs/\360\237\233\240\357\270\217RequestTab.swift" @@ -0,0 +1,32 @@ +import SwiftUI + +struct 🛠️RequestTab: View { + @Environment(\.openURL) var openURL + var body: some View { + NavigationStack { + VStack(spacing: 24) { + Text(""" + App Store + review + PLEASE!!! + """) + .multilineTextAlignment(.center) + .font(.extraLargeTitle2) + Button { + self.openURL(🗒️StaticInfo.appStoreUserReviewURL) + } label: { + HStack { + Text("Go to App Store") + Image(systemName: "arrow.up.forward.app") + .symbolRenderingMode(.hierarchical) + } + .font(.largeTitle) + .padding(.vertical, 12) + } + } + .padding(.bottom, 36) + .navigationTitle("Request") + } + .tabItem { Label("Request", systemImage: "star.bubble") } + } +}