Fixed many warnings
This commit is contained in:
@@ -552,10 +552,7 @@
|
|||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
DEVELOPMENT_TEAM = 85J8CBD673;
|
DEVELOPMENT_TEAM = 85J8CBD673;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||||
"$(inherited)",
|
|
||||||
"$(PROJECT_DIR)/Carthage/Build/iOS",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Zockerhoehle/Info.plist;
|
INFOPLIST_FILE = Zockerhoehle/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
|
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
@@ -578,10 +575,7 @@
|
|||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
DEVELOPMENT_TEAM = M9N7K3KZX9;
|
DEVELOPMENT_TEAM = M9N7K3KZX9;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||||
"$(inherited)",
|
|
||||||
"$(PROJECT_DIR)/Carthage/Build/iOS",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Zockerhoehle/Info.plist;
|
INFOPLIST_FILE = Zockerhoehle/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
|
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ class LibraryImport {
|
|||||||
|
|
||||||
func backupFiles() -> [String] {
|
func backupFiles() -> [String] {
|
||||||
do {
|
do {
|
||||||
guard let documentDirectory = try ICloudManager.backup_folder else { return [] }
|
guard let documentDirectory = ICloudManager.backup_folder else { return [] }
|
||||||
|
|
||||||
let filesInDocumentsDir = try FileManager.default.contentsOfDirectory(at: documentDirectory, includingPropertiesForKeys: .none, options: [])
|
let filesInDocumentsDir = try FileManager.default.contentsOfDirectory(at: documentDirectory, includingPropertiesForKeys: .none, options: [])
|
||||||
|
|
||||||
@@ -169,7 +169,7 @@ class LibraryImport {
|
|||||||
for console in library.consoles {
|
for console in library.consoles {
|
||||||
let cdConsole = makeCDConsole(from: console)
|
let cdConsole = makeCDConsole(from: console)
|
||||||
|
|
||||||
print("CONSOLE: \(cdConsole.name ?? "n/a") with \(console.games.count) games")
|
print("CONSOLE: \(cdConsole.name) with \(console.games.count) games")
|
||||||
for uuid in console.games {
|
for uuid in console.games {
|
||||||
|
|
||||||
if let game = library.games.first(where: {$0.uuid == uuid}) {
|
if let game = library.games.first(where: {$0.uuid == uuid}) {
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ struct AccessoryDetailView : View {
|
|||||||
Toggle(isOn: $accessory.inWishlist, label: {
|
Toggle(isOn: $accessory.inWishlist, label: {
|
||||||
Text("In Wunschliste")
|
Text("In Wunschliste")
|
||||||
})
|
})
|
||||||
}.navigationBarTitle(Text("\(accessory.name ?? "n/a")"), displayMode: .automatic)
|
}.navigationBarTitle(Text("\(accessory.name)"), displayMode: .automatic)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ struct ConsoleLibraryView : View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigationBarTitle(Text("\(self.console.name ?? "n/a")"), displayMode: .automatic)
|
.navigationBarTitle(Text("\(self.console.name)"), displayMode: .automatic)
|
||||||
.navigationBarItems(trailing:
|
.navigationBarItems(trailing:
|
||||||
HStack {
|
HStack {
|
||||||
NavigationLink(destination: ConsoleEditView(console: self.console)) {
|
NavigationLink(destination: ConsoleEditView(console: self.console)) {
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ struct GameSeriesAllView: View {
|
|||||||
//Sonst wird der TExt kurioser Weise abgeschnitten wenn ein Bild davor ist. Hier nochmal später rein
|
//Sonst wird der TExt kurioser Weise abgeschnitten wenn ein Bild davor ist. Hier nochmal später rein
|
||||||
//schauen
|
//schauen
|
||||||
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .leading)
|
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .leading)
|
||||||
Text("Spiele: \(game_series.games.filter({!($0 as! Game).inWishlist}).count ?? 0)/\(game_series.games.count ?? 0)").font(.caption)
|
Text("Spiele: \(game_series.games.filter({!($0 as! Game).inWishlist}).count)/\(game_series.games.count)").font(.caption)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user