slight modifications
This commit is contained in:
parent
6ec348841c
commit
ccdf7db12e
@ -320,6 +320,7 @@
|
|||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Just Scan It";
|
INFOPLIST_KEY_CFBundleDisplayName = "Just Scan It";
|
||||||
|
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
|
||||||
INFOPLIST_KEY_NSCameraUsageDescription = "Scan documents with the camera.";
|
INFOPLIST_KEY_NSCameraUsageDescription = "Scan documents with the camera.";
|
||||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||||
@ -356,6 +357,7 @@
|
|||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Just Scan It";
|
INFOPLIST_KEY_CFBundleDisplayName = "Just Scan It";
|
||||||
|
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
|
||||||
INFOPLIST_KEY_NSCameraUsageDescription = "Scan documents with the camera.";
|
INFOPLIST_KEY_NSCameraUsageDescription = "Scan documents with the camera.";
|
||||||
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
||||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||||
|
@ -111,8 +111,9 @@ struct ScanItemView: View {
|
|||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
// .background(Color(red: 0.4, green: 0.6, blue: 0.9, opacity: 0.8))
|
// .background(Color(red: 0.4, green: 0.6, blue: 0.9, opacity: 0.8))
|
||||||
.background(Gradient(colors: [bgTopColour, bgBottomColour]))
|
.background(bgTopColour)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 35))
|
// .background(Gradient(colors: [bgTopColour, bgBottomColour]))
|
||||||
|
.clipShape(RoundedRectangle(cornerRadius: 28))
|
||||||
.padding(.horizontal, 12)
|
.padding(.horizontal, 12)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,14 +31,14 @@ struct SettingsView: View {
|
|||||||
Section {
|
Section {
|
||||||
Toggle("Launch Camera on Startup", isOn: $autoLaunchCamera)
|
Toggle("Launch Camera on Startup", isOn: $autoLaunchCamera)
|
||||||
Toggle("Auto-Copy on Save", isOn: $autoCopy)
|
Toggle("Auto-Copy on Save", isOn: $autoCopy)
|
||||||
} header: { Text("General") }
|
} header: { Text("General") } footer: { Text("Due to iOS limitations, only the first photo in a capture will be copied.") }
|
||||||
}
|
}
|
||||||
|
|
||||||
var aboutApp: some View {
|
var aboutApp: some View {
|
||||||
Section {
|
Section {
|
||||||
LabeledContent("Version", value: "1.0.0")
|
LabeledContent("Version", value: "1.0.0")
|
||||||
|
|
||||||
} header: { Text("About") } footer: { Text("Made by bread!") }
|
} header: { Text("About") } footer: { Text("Made by bread! 🇳🇿") }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user