mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-22 14:26:01 +00:00
Fix BG
This commit is contained in:
1 parent
f4ddb7b776
commit
5d07cf1ae5
4 files changed
+22
-14
No files matched your search
@@ -23,9 +23,9 @@
|
|||||||
"color-space" : "display-p3",
|
"color-space" : "display-p3",
|
||||||
"components" : {
|
"components" : {
|
||||||
"alpha" : "1.000",
|
"alpha" : "1.000",
|
||||||
"blue" : "0.200",
|
"blue" : "0.169",
|
||||||
"green" : "0.200",
|
"green" : "0.153",
|
||||||
"red" : "0.200"
|
"red" : "0.153"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"idiom" : "universal"
|
"idiom" : "universal"
|
||||||
|
|||||||
@@ -31,17 +31,25 @@ struct WelcomeScreen: View {
|
|||||||
.listStyle(SidebarListStyle())
|
.listStyle(SidebarListStyle())
|
||||||
|
|
||||||
Divider()
|
Divider()
|
||||||
|
.opacity(colorScheme == .light ? 1 : 0)
|
||||||
|
// .overlay(
|
||||||
|
// Color.black.opacity(colorScheme == .dark ? 1 : 0)
|
||||||
|
// )
|
||||||
.edgesIgnoringSafeArea(.vertical)
|
.edgesIgnoringSafeArea(.vertical)
|
||||||
|
|
||||||
switch selection {
|
ZStack {
|
||||||
case .receive:
|
Color.defaultBackground.edgesIgnoringSafeArea(.vertical)
|
||||||
TutorialView(title: "WelcomeToQuickDrop", text: "UserManualDescription", showsLicense: true, openIAP: openIAP)
|
|
||||||
|
|
||||||
case .send:
|
switch selection {
|
||||||
TutorialView(title: "SendFiles", text: "SendFilesDescription", showsLicense: false, openIAP: openIAP)
|
case .receive:
|
||||||
|
TutorialView(title: "WelcomeToQuickDrop", text: "UserManualDescription", showsLicense: true, openIAP: openIAP)
|
||||||
default:
|
|
||||||
TutorialView(title: "Troubleshooting", text: "TroubleshootingDescription", showsLicense: false, openIAP: openIAP)
|
case .send:
|
||||||
|
TutorialView(title: "SendFiles", text: "SendFilesDescription", showsLicense: false, openIAP: openIAP)
|
||||||
|
|
||||||
|
default:
|
||||||
|
TutorialView(title: "Troubleshooting", text: "TroubleshootingDescription", showsLicense: false, openIAP: openIAP)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(width: 1000, height: 600)
|
.frame(width: 1000, height: 600)
|
||||||
|
|||||||
@@ -763,7 +763,7 @@
|
|||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 13;
|
SHARED_BUILD = 14;
|
||||||
SHARED_VERSION = 1.4;
|
SHARED_VERSION = 1.4;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||||
@@ -822,7 +822,7 @@
|
|||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 13;
|
SHARED_BUILD = 14;
|
||||||
SHARED_VERSION = 1.4;
|
SHARED_VERSION = 1.4;
|
||||||
SWIFT_COMPILATION_MODE = wholemodule;
|
SWIFT_COMPILATION_MODE = wholemodule;
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<rect key="frame" x="0.0" y="0.0" width="206" height="82"/>
|
<rect key="frame" x="0.0" y="0.0" width="206" height="82"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QPM-sE-maP">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QPM-sE-maP">
|
||||||
<rect key="frame" x="-2" y="0.0" width="210" height="32"/>
|
<rect key="frame" x="-2" y="0.0" width="210" height="32"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="32" id="TBS-IE-2DT"/>
|
<constraint firstAttribute="height" constant="32" id="TBS-IE-2DT"/>
|
||||||
|
|||||||
Reference in new issue
Block a user