Skip to content

Commit

Permalink
Merge pull request #222 from 0x1-company/record-text
Browse files Browse the repository at this point in the history
fix: 🐛 record text
  • Loading branch information
tomokisun authored Jan 21, 2024
2 parents ea23362 + 50d4fe6 commit b4aa005
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Packages/FlyCam/Sources/AppFeature/UserSettingsLogic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public struct UserSettingsLogic {

let param = UserSettingsClient.UpdateParam(
uid: uid,
notification: notificationStatus
notification: notificationStatus,
trackingAuthorization: .notDetermined
)
try await userSettings.update(param)
} catch: { error, _ in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public struct CaptureToolView: View {
public var body: some View {
WithViewStore(store, observe: ViewState.init) { viewStore in
VStack(spacing: 12) {
Text("Press button to jump", bundle: .module)
Text("Press button to record start", bundle: .module)
.frame(maxHeight: .infinity)
.font(.system(.title3, weight: .semibold))

Expand Down
11 changes: 11 additions & 0 deletions Packages/FlyCam/Sources/CameraRecordFeature/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"sourceLanguage" : "en",
"strings" : {
"Press button to jump" : {
"extractionState" : "stale",
"localizations" : {
"ja" : {
"stringUnit" : {
Expand All @@ -10,6 +11,16 @@
}
}
}
},
"Press button to record start" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "ボタンを押して撮影開始"
}
}
}
}
},
"version" : "1.0"
Expand Down

0 comments on commit b4aa005

Please sign in to comment.