Skip to content

Commit

Permalink
Stability improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
TimFelixBeyer committed Oct 13, 2024
1 parent 13a9ac0 commit 06b7619
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions FaceExplorer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.0.4;
MARKETING_VERSION = 0.0.6;
PRODUCT_BUNDLE_IDENTIFIER = com.FaceExplorer;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -439,7 +439,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.0.4;
MARKETING_VERSION = 0.0.6;
PRODUCT_BUNDLE_IDENTIFIER = com.FaceExplorer;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion FaceExplorer/Model/ModelData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ final class ModelData: ObservableObject {
@Published var persons: [Person] = []
@Published var faces: [Face] = []
@Published var errorOccurred = false
@Published var errorMessage: String?
@Published var errorMessage: String = ""

let faceAttributes = getFaceAttributes()

Expand Down
2 changes: 1 addition & 1 deletion FaceExplorer/Views/Faces/FaceGrid.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct FaceGrid: View {
}
})
.frame(minWidth: 100, maxWidth: .infinity, minHeight: 100, maxHeight: .infinity, alignment: .topLeading)
.alert(modelData.errorMessage!, isPresented: $modelData.errorOccurred) {
.alert(modelData.errorMessage, isPresented: $modelData.errorOccurred) {
Button("Select Library...", action: modelData.selectLibrary)
Button("Close", role: .cancel, action: {})
}
Expand Down

0 comments on commit 06b7619

Please sign in to comment.