Skip to content

Commit

Permalink
✨ Fix localization issue and change uploaded preview to /img.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsonwheels committed May 8, 2021
1 parent 64047a9 commit b2307d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Iamages/Iamages.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
CODE_SIGN_ENTITLEMENTS = Iamages/Iamages.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
CURRENT_PROJECT_VERSION = 7;
DEVELOPMENT_ASSET_PATHS = "\"Iamages/Preview Content\"";
DEVELOPMENT_TEAM = 3N8FA5W78T;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
Expand Down Expand Up @@ -511,7 +511,7 @@
CODE_SIGN_ENTITLEMENTS = Iamages/Iamages.entitlements;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
CURRENT_PROJECT_VERSION = 7;
DEVELOPMENT_ASSET_PATHS = "\"Iamages/Preview Content\"";
DEVELOPMENT_TEAM = 3N8FA5W78T;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct SettingsScreen: View {
Text("App settings")
})
}
Section(header: Text("About"), footer: Text("Iamages iOS 2.2.0 (6)")) {
Section(header: Text("About"), footer: Text("Iamages iOS 2.2.0 (7)")) {
Link(destination: URL(string: api.IAMAGES_APIROOT + "private/tos")!) {
HStack {
Text("Terms of Service")
Expand Down
4 changes: 2 additions & 2 deletions Iamages/Iamages/Screens/UploadScreen/UploadedFilesCover.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct UploadedFilesCover: View {
ForEach(self.uploadedFiles, id: \.self) { uploadedFile in
Link(destination: api.get_root_embed(id: uploadedFile.id)) {
HStack(alignment: .center) {
KFImage(api.get_root_thumb(id: uploadedFile.id))
KFImage(api.get_root_img(id: uploadedFile.id))
.requestModifier(dataCentralObservable.userRequestModifier)
.resizable()
.cancelOnDisappear(true)
Expand Down Expand Up @@ -64,7 +64,7 @@ struct UploadedFilesCover: View {
self.isBusy = false
}).catch({ error in
self.isBusy = false
self.alertItem = AlertItem(title: Text("Upload failed"), message: Text("'\(file.description)' uploadFailed \(error.localizedDescription)"), dismissButton: .default(Text("Okay")))
self.alertItem = AlertItem(title: Text("Upload failed"), message: Text("'\(file.description)': \(error.localizedDescription)"), dismissButton: .default(Text("Okay")))
})
}
}
Expand Down

0 comments on commit b2307d6

Please sign in to comment.