@ -3,7 +3,7 @@
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 54;
|
||||
objectVersion = 56;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
@ -448,6 +448,7 @@
|
||||
90DF83A6A347F7EE7EDE89EE /* AttributedStringBuilderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF25E364AE85090A70AE4644 /* AttributedStringBuilderTests.swift */; };
|
||||
90EB25D13AE6EEF034BDE9D2 /* Assets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71D52BAA5BADB06E5E8C295D /* Assets.swift */; };
|
||||
915C0DB82AB3284300C2C3F6 /* TimelineMediaFrame.swift in Sources */ = {isa = PBXBuildFile; fileRef = 915C0DB72AB3284300C2C3F6 /* TimelineMediaFrame.swift */; };
|
||||
917D4D6E2AB4C78600349B1E /* OnboardingLogo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 917D4D6D2AB4C78600349B1E /* OnboardingLogo.swift */; };
|
||||
91ABC91758A6E4A5FAA2E9C4 /* ReadReceipt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 314F1C79850BE46E8ABEAFCB /* ReadReceipt.swift */; };
|
||||
92133B170A1F917685E9FF78 /* OnboardingScreenUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D168471461717AF5689F64B /* OnboardingScreenUITests.swift */; };
|
||||
9219640F4D980CFC5FE855AD /* target.yml in Resources */ = {isa = PBXBuildFile; fileRef = 536E72DCBEEC4A1FE66CFDCE /* target.yml */; };
|
||||
@ -930,7 +931,7 @@
|
||||
127C8472672A5BA09EF1ACF8 /* CurrentValuePublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurrentValuePublisher.swift; sourceTree = "<group>"; };
|
||||
12EDAFB64FA5F6812D54F39A /* MigrationScreenViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MigrationScreenViewModel.swift; sourceTree = "<group>"; };
|
||||
12F1E7F9C2BE8BB751037826 /* WaitlistScreenCoordinator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WaitlistScreenCoordinator.swift; sourceTree = "<group>"; };
|
||||
1304D9191300873EADA52D6E /* IntegrationTests.xctestplan */ = {isa = PBXFileReference; path = IntegrationTests.xctestplan; sourceTree = "<group>"; };
|
||||
1304D9191300873EADA52D6E /* IntegrationTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = IntegrationTests.xctestplan; sourceTree = "<group>"; };
|
||||
130ED565A078F7E0B59D9D25 /* UNTextInputNotificationResponse+Creator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UNTextInputNotificationResponse+Creator.swift"; sourceTree = "<group>"; };
|
||||
13802897C7AFA360EA74C0B0 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = en; path = en.lproj/Localizable.stringsdict; sourceTree = "<group>"; };
|
||||
1423AB065857FA546444DB15 /* NotificationManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationManager.swift; sourceTree = "<group>"; };
|
||||
@ -1081,7 +1082,7 @@
|
||||
47111410B6E659A697D472B5 /* RoomProxyProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomProxyProtocol.swift; sourceTree = "<group>"; };
|
||||
471EB7D96AFEA8D787659686 /* EmoteRoomTimelineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmoteRoomTimelineView.swift; sourceTree = "<group>"; };
|
||||
47873756E45B46683D97DC32 /* LegalInformationScreenModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LegalInformationScreenModels.swift; sourceTree = "<group>"; };
|
||||
478BE8591BD13E908EF70C0C /* DesignKit */ = {isa = PBXFileReference; lastKnownFileType = folder; name = DesignKit; path = DesignKit; sourceTree = SOURCE_ROOT; };
|
||||
478BE8591BD13E908EF70C0C /* DesignKit */ = {isa = PBXFileReference; lastKnownFileType = folder; path = DesignKit; sourceTree = SOURCE_ROOT; };
|
||||
4798B3B7A1E8AE3901CEE8C6 /* FramePreferenceKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FramePreferenceKey.swift; sourceTree = "<group>"; };
|
||||
47EBB5D698CE9A25BB553A2D /* Strings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Strings.swift; sourceTree = "<group>"; };
|
||||
47F29139BC2A804CE5E0757E /* MediaUploadPreviewScreenViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediaUploadPreviewScreenViewModel.swift; sourceTree = "<group>"; };
|
||||
@ -1275,7 +1276,7 @@
|
||||
8D55702474F279D910D2D162 /* RoomStateEventStringBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomStateEventStringBuilder.swift; sourceTree = "<group>"; };
|
||||
8D8169443E5AC5FF71BFB3DB /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Localizable.strings; sourceTree = "<group>"; };
|
||||
8DC2C9E0E15C79BBDA80F0A2 /* TimelineStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimelineStyle.swift; sourceTree = "<group>"; };
|
||||
8E088F2A1B9EC529D3221931 /* UITests.xctestplan */ = {isa = PBXFileReference; path = UITests.xctestplan; sourceTree = "<group>"; };
|
||||
8E088F2A1B9EC529D3221931 /* UITests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = UITests.xctestplan; sourceTree = "<group>"; };
|
||||
8E1BBA73B611EDEEA6E20E05 /* InvitesScreenModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InvitesScreenModels.swift; sourceTree = "<group>"; };
|
||||
8EC57A32ABC80D774CC663DB /* SettingsScreenUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsScreenUITests.swift; sourceTree = "<group>"; };
|
||||
8F21ED7205048668BEB44A38 /* AppActivityView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppActivityView.swift; sourceTree = "<group>"; };
|
||||
@ -1285,6 +1286,7 @@
|
||||
90A55430639712CFACA34F43 /* TextRoomTimelineItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextRoomTimelineItem.swift; sourceTree = "<group>"; };
|
||||
90F2F8998E5632668B0AD848 /* RoomTimelineItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomTimelineItemView.swift; sourceTree = "<group>"; };
|
||||
915C0DB72AB3284300C2C3F6 /* TimelineMediaFrame.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimelineMediaFrame.swift; sourceTree = "<group>"; };
|
||||
917D4D6D2AB4C78600349B1E /* OnboardingLogo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingLogo.swift; sourceTree = "<group>"; };
|
||||
91CF6F7D08228D16BA69B63B /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant-TW"; path = "zh-Hant-TW.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
||||
923485F85E1D765EF9D20E88 /* UserProfileCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserProfileCell.swift; sourceTree = "<group>"; };
|
||||
92390F9FA98255440A6BF5F8 /* OIDCAuthenticationPresenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OIDCAuthenticationPresenter.swift; sourceTree = "<group>"; };
|
||||
@ -1391,7 +1393,7 @@
|
||||
B4CFE236419E830E8946639C /* Analytics+SwiftUI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Analytics+SwiftUI.swift"; sourceTree = "<group>"; };
|
||||
B590BD4507D4F0A377FDE01A /* LoadableAvatarImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadableAvatarImage.swift; sourceTree = "<group>"; };
|
||||
B5B243E7818E5E9F6A4EDC7A /* NoticeRoomTimelineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NoticeRoomTimelineView.swift; sourceTree = "<group>"; };
|
||||
B61C339A2FDDBD067FF6635C /* ConfettiScene.scn */ = {isa = PBXFileReference; path = ConfettiScene.scn; sourceTree = "<group>"; };
|
||||
B61C339A2FDDBD067FF6635C /* ConfettiScene.scn */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; path = ConfettiScene.scn; sourceTree = "<group>"; };
|
||||
B6311F21F911E23BE4DF51B4 /* ReadMarkerRoomTimelineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReadMarkerRoomTimelineView.swift; sourceTree = "<group>"; };
|
||||
B63B69F9A2BC74DD40DC75C8 /* AdvancedSettingsScreenViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdvancedSettingsScreenViewModel.swift; sourceTree = "<group>"; };
|
||||
B697816AF93DA06EC58C5D70 /* WaitlistScreenViewModelProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WaitlistScreenViewModelProtocol.swift; sourceTree = "<group>"; };
|
||||
@ -1482,7 +1484,7 @@
|
||||
CD95B3714F806AC9CF9A557B /* ComposerToolbarViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComposerToolbarViewModel.swift; sourceTree = "<group>"; };
|
||||
CDB3227C7A74B734924942E9 /* RoomSummaryProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomSummaryProvider.swift; sourceTree = "<group>"; };
|
||||
CEE0E6043EFCF6FD2A341861 /* TimelineReplyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimelineReplyView.swift; sourceTree = "<group>"; };
|
||||
CEE41494C837AA403A06A5D9 /* UnitTests.xctestplan */ = {isa = PBXFileReference; path = UnitTests.xctestplan; sourceTree = "<group>"; };
|
||||
CEE41494C837AA403A06A5D9 /* UnitTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = UnitTests.xctestplan; sourceTree = "<group>"; };
|
||||
CF48AF076424DBC1615C74AD /* AuthenticationServiceProxy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthenticationServiceProxy.swift; sourceTree = "<group>"; };
|
||||
D0140615D2232612C813FD6C /* EncryptedHistoryRoomTimelineItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EncryptedHistoryRoomTimelineItem.swift; sourceTree = "<group>"; };
|
||||
D071F86CD47582B9196C9D16 /* UserDiscoverySection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserDiscoverySection.swift; sourceTree = "<group>"; };
|
||||
@ -1568,7 +1570,7 @@
|
||||
ECF79FB25E2D4BD6F50CE7C9 /* RoomMembersListScreenViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomMembersListScreenViewModel.swift; sourceTree = "<group>"; };
|
||||
ED044D00F2176681CC02CD54 /* HomeScreenRoomCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeScreenRoomCell.swift; sourceTree = "<group>"; };
|
||||
ED1D792EB82506A19A72C8DE /* RoomTimelineItemProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomTimelineItemProtocol.swift; sourceTree = "<group>"; };
|
||||
ED482057AE39D5C6D9C5F3D8 /* message.caf */ = {isa = PBXFileReference; path = message.caf; sourceTree = "<group>"; };
|
||||
ED482057AE39D5C6D9C5F3D8 /* message.caf */ = {isa = PBXFileReference; lastKnownFileType = file; path = message.caf; sourceTree = "<group>"; };
|
||||
ED983D4DCA5AFA6E1ED96099 /* StateRoomTimelineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StateRoomTimelineView.swift; sourceTree = "<group>"; };
|
||||
EDAA4472821985BF868CC21C /* ServerSelectionViewModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServerSelectionViewModelTests.swift; sourceTree = "<group>"; };
|
||||
EE378083653EF0C9B5E9D580 /* EmoteRoomTimelineItemContent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmoteRoomTimelineItemContent.swift; sourceTree = "<group>"; };
|
||||
@ -1582,7 +1584,7 @@
|
||||
F174A5627CDB3CAF280D1880 /* EmojiPickerScreenModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiPickerScreenModels.swift; sourceTree = "<group>"; };
|
||||
F17EFA1D3D09FC2F9C5E1CB2 /* MediaProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediaProvider.swift; sourceTree = "<group>"; };
|
||||
F1B8500C152BC59445647DA8 /* UnsupportedRoomTimelineItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnsupportedRoomTimelineItem.swift; sourceTree = "<group>"; };
|
||||
F2D513D2477B57F90E98EEC0 /* portrait_test_video.mp4 */ = {isa = PBXFileReference; path = portrait_test_video.mp4; sourceTree = "<group>"; };
|
||||
F2D513D2477B57F90E98EEC0 /* portrait_test_video.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; path = portrait_test_video.mp4; sourceTree = "<group>"; };
|
||||
F31F59030205A6F65B057E1A /* MatrixEntityRegexTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MatrixEntityRegexTests.swift; sourceTree = "<group>"; };
|
||||
F348B5F2C12F9D4F4B4D3884 /* VideoRoomTimelineItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VideoRoomTimelineItem.swift; sourceTree = "<group>"; };
|
||||
F36C0A6D59717193F49EA986 /* UserSessionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserSessionTests.swift; sourceTree = "<group>"; };
|
||||
@ -2833,6 +2835,7 @@
|
||||
children = (
|
||||
AB8E75B9CB6C78BE8D09B1AF /* OnboardingScreen.swift */,
|
||||
9F3450F4C32D73532DBBC1A2 /* OnboardingScreenBackgroundImage.swift */,
|
||||
917D4D6D2AB4C78600349B1E /* OnboardingLogo.swift */,
|
||||
);
|
||||
path = View;
|
||||
sourceTree = "<group>";
|
||||
@ -5012,6 +5015,7 @@
|
||||
E3291AD16D7A5CB14781819C /* UserNotificationCenterProtocol.swift in Sources */,
|
||||
40B79D20A873620F7F128A2C /* UserPreference.swift in Sources */,
|
||||
80DEA2A4B20F9E279EAE6B2B /* UserProfile+Mock.swift in Sources */,
|
||||
917D4D6E2AB4C78600349B1E /* OnboardingLogo.swift in Sources */,
|
||||
F94000E3D91B11C527DA8807 /* UserProfileCell.swift in Sources */,
|
||||
E21FE4C5B614F311C0955859 /* UserProfileProxy.swift in Sources */,
|
||||
9CCC77C31CB399661A034739 /* UserProperties+Element.swift in Sources */,
|
||||
|
@ -217,7 +217,7 @@
|
||||
{
|
||||
"identity" : "swiftui-introspect",
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/siteline/SwiftUI-Introspect.git",
|
||||
"location" : "https://github.com/siteline/SwiftUI-Introspect",
|
||||
"state" : {
|
||||
"revision" : "b94da693e57eaf79d16464b8b7c90d09cba4e290",
|
||||
"version" : "0.9.2"
|
||||
|
@ -1,7 +0,0 @@
|
||||
<svg width="110" height="110" viewBox="0 0 110 110" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M55 110C85.3757 110 110 85.3757 110 55C110 24.6243 85.3757 0 55 0C24.6243 0 0 24.6243 0 55C0 85.3757 24.6243 110 55 110Z" fill="#0DBD8B"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M44.9439 25.627C44.9439 23.4069 46.7474 21.6072 48.9721 21.6072C64.0505 21.6072 76.2739 33.8053 76.2739 48.8523C76.2739 51.0724 74.4705 52.8721 72.2458 52.8721C70.0211 52.8721 68.2176 51.0724 68.2176 48.8523C68.2176 38.2454 59.6011 29.6468 48.9721 29.6468C46.7474 29.6468 44.9439 27.8471 44.9439 25.627Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M84.3646 44.8325C86.5893 44.8325 88.3928 46.6322 88.3928 48.8523C88.3928 63.8994 76.1693 76.0975 61.091 76.0975C58.8663 76.0975 57.0628 74.2977 57.0628 72.0777C57.0628 69.8576 58.8663 68.0579 61.091 68.0579C71.7199 68.0579 80.3364 59.4592 80.3364 48.8523C80.3364 46.6322 82.1399 44.8325 84.3646 44.8325Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M65.1188 84.3729C65.1188 86.593 63.3153 88.3927 61.0906 88.3927C46.0122 88.3927 33.7888 76.1946 33.7888 61.1476C33.7888 58.9275 35.5923 57.1278 37.817 57.1278C40.0416 57.1278 41.8451 58.9275 41.8451 61.1476C41.8451 71.7545 50.4616 80.3531 61.0906 80.3531C63.3153 80.3531 65.1188 82.1528 65.1188 84.3729Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.6348 65.1674C23.4101 65.1674 21.6066 63.3677 21.6066 61.1476C21.6066 46.1005 33.8301 33.9024 48.9085 33.9024C51.1332 33.9024 52.9366 35.7022 52.9366 37.9222C52.9366 40.1423 51.1332 41.942 48.9085 41.942C38.2795 41.942 29.663 50.5407 29.663 61.1476C29.663 63.3677 27.8595 65.1674 25.6348 65.1674Z" fill="white"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.7 KiB |
@ -1,7 +1,7 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "AppLogo.svg",
|
||||
"filename" : "app-logo.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
|
BIN
ElementX/Resources/Assets.xcassets/images/app-logo.imageset/app-logo.pdf
vendored
Normal file
@ -1,11 +1,31 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "LaunchBackgroundTablet-squashed.png",
|
||||
"filename" : "ipad-light.png",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"filename" : "LaunchBackgroundPhone-squashed.png",
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "ipad-dark.png",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"filename" : "iphone-light.png",
|
||||
"idiom" : "iphone"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "iphone-dark.png",
|
||||
"idiom" : "iphone"
|
||||
}
|
||||
],
|
||||
|
Before Width: | Height: | Size: 313 KiB |
Before Width: | Height: | Size: 921 KiB |
BIN
ElementX/Resources/Assets.xcassets/images/launch-background.imageset/ipad-dark.png
vendored
Normal file
After Width: | Height: | Size: 404 KiB |
BIN
ElementX/Resources/Assets.xcassets/images/launch-background.imageset/ipad-light.png
vendored
Normal file
After Width: | Height: | Size: 228 KiB |
BIN
ElementX/Resources/Assets.xcassets/images/launch-background.imageset/iphone-dark.png
vendored
Normal file
After Width: | Height: | Size: 182 KiB |
BIN
ElementX/Resources/Assets.xcassets/images/launch-background.imageset/iphone-light.png
vendored
Normal file
After Width: | Height: | Size: 98 KiB |
@ -1,25 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "LaunchLogo.pdf",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "LaunchLogo-dark.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"properties" : {
|
||||
"preserves-vector-representation" : true
|
||||
}
|
||||
}
|
@ -1,397 +0,0 @@
|
||||
%PDF-1.7
|
||||
|
||||
1 0 obj
|
||||
<< /Type /XObject
|
||||
/Length 2 0 R
|
||||
/Group << /Type /Group
|
||||
/S /Transparency
|
||||
>>
|
||||
/Subtype /Form
|
||||
/Resources << /ExtGState << /E1 << /ca 0.400000 >> >> >>
|
||||
/BBox [ 0.000000 0.000000 158.000000 158.000000 ]
|
||||
>>
|
||||
stream
|
||||
/DeviceRGB CS
|
||||
/DeviceRGB cs
|
||||
q
|
||||
/E1 gs
|
||||
1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000 cm
|
||||
1.000000 1.000000 1.000000 scn
|
||||
0.000000 87.599998 m
|
||||
0.000000 112.242310 0.000000 124.563461 4.795713 133.975586 c
|
||||
9.014142 142.254715 15.745286 148.985855 24.024418 153.204285 c
|
||||
33.436535 158.000000 45.757690 158.000000 70.400002 158.000000 c
|
||||
87.599998 158.000000 l
|
||||
112.242310 158.000000 124.563469 158.000000 133.975586 153.204285 c
|
||||
142.254715 148.985855 148.985855 142.254715 153.204285 133.975586 c
|
||||
158.000000 124.563461 158.000000 112.242310 158.000000 87.599998 c
|
||||
158.000000 70.400002 l
|
||||
158.000000 45.757690 158.000000 33.436531 153.204285 24.024414 c
|
||||
148.985855 15.745285 142.254715 9.014145 133.975586 4.795715 c
|
||||
124.563469 0.000000 112.242310 0.000000 87.599998 0.000000 c
|
||||
70.400002 0.000000 l
|
||||
45.757690 0.000000 33.436535 0.000000 24.024418 4.795715 c
|
||||
15.745286 9.014145 9.014142 15.745285 4.795713 24.024414 c
|
||||
0.000000 33.436531 0.000000 45.757690 0.000000 70.400002 c
|
||||
0.000000 87.599998 l
|
||||
h
|
||||
f
|
||||
n
|
||||
Q
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 24.000000 24.000000 cm
|
||||
0.050980 0.741176 0.545098 scn
|
||||
55.000008 -0.000015 m
|
||||
85.375671 -0.000015 110.000015 24.624329 110.000015 54.999992 c
|
||||
110.000015 85.375656 85.375671 110.000000 55.000008 110.000000 c
|
||||
24.624342 110.000000 0.000000 85.375656 0.000000 54.999992 c
|
||||
0.000000 24.624329 24.624342 -0.000015 55.000008 -0.000015 c
|
||||
h
|
||||
f*
|
||||
n
|
||||
Q
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 45.606445 81.127930 cm
|
||||
1.000000 1.000000 1.000000 scn
|
||||
23.337296 27.245094 m
|
||||
23.337296 29.465168 25.140764 31.264893 27.365456 31.264893 c
|
||||
42.443832 31.264893 54.667271 19.066826 54.667271 4.019749 c
|
||||
54.667271 1.799677 52.863808 -0.000048 50.639114 -0.000048 c
|
||||
48.414425 -0.000048 46.610954 1.799677 46.610954 4.019749 c
|
||||
46.610954 14.626682 37.994453 23.225300 27.365456 23.225298 c
|
||||
25.140764 23.225298 23.337296 25.025023 23.337296 27.245094 c
|
||||
h
|
||||
f*
|
||||
n
|
||||
Q
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 45.606445 81.127930 cm
|
||||
1.000000 1.000000 1.000000 scn
|
||||
62.757961 8.039566 m
|
||||
64.982651 8.039566 66.786118 6.239841 66.786118 4.019770 c
|
||||
66.786118 -11.027309 54.562679 -23.225376 39.484303 -23.225376 c
|
||||
37.259613 -23.225376 35.456146 -21.425652 35.456146 -19.205582 c
|
||||
35.456146 -16.985508 37.259613 -15.185780 39.484303 -15.185780 c
|
||||
50.113300 -15.185780 58.729801 -6.587162 58.729801 4.019770 c
|
||||
58.729801 6.239841 60.533272 8.039566 62.757961 8.039566 c
|
||||
h
|
||||
f*
|
||||
n
|
||||
Q
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 45.606445 81.127930 cm
|
||||
1.000000 1.000000 1.000000 scn
|
||||
43.512127 -31.500816 m
|
||||
43.512127 -33.720894 41.708656 -35.520615 39.483967 -35.520615 c
|
||||
24.405590 -35.520615 12.182150 -23.322544 12.182151 -8.275467 c
|
||||
12.182151 -6.055397 13.985620 -4.255672 16.210310 -4.255672 c
|
||||
18.435001 -4.255672 20.238468 -6.055397 20.238468 -8.275471 c
|
||||
20.238468 -18.882404 28.854971 -27.481022 39.483967 -27.481022 c
|
||||
41.708656 -27.481022 43.512127 -29.280746 43.512127 -31.500816 c
|
||||
h
|
||||
f*
|
||||
n
|
||||
Q
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 45.606445 81.127686 cm
|
||||
1.000000 1.000000 1.000000 scn
|
||||
4.028159 -12.295063 m
|
||||
1.803469 -12.295063 0.000000 -10.495338 0.000000 -8.275265 c
|
||||
-0.000001 6.771814 12.223439 18.969881 27.301817 18.969883 c
|
||||
29.526506 18.969883 31.329973 17.170158 31.329975 14.950085 c
|
||||
31.329975 12.730011 29.526506 10.930288 27.301817 10.930288 c
|
||||
16.672821 10.930286 8.056316 2.331669 8.056317 -8.275265 c
|
||||
8.056318 -10.495338 6.252850 -12.295063 4.028159 -12.295063 c
|
||||
h
|
||||
f*
|
||||
n
|
||||
Q
|
||||
|
||||
endstream
|
||||
endobj
|
||||
|
||||
2 0 obj
|
||||
3367
|
||||
endobj
|
||||
|
||||
3 0 obj
|
||||
<< /Type /XObject
|
||||
/Length 4 0 R
|
||||
/Group << /Type /Group
|
||||
/S /Transparency
|
||||
>>
|
||||
/Subtype /Form
|
||||
/Resources << >>
|
||||
/BBox [ 0.000000 0.000000 158.000000 158.000000 ]
|
||||
>>
|
||||
stream
|
||||
/DeviceRGB CS
|
||||
/DeviceRGB cs
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000 cm
|
||||
0.000000 0.000000 0.000000 scn
|
||||
0.000000 87.599998 m
|
||||
0.000000 112.242310 0.000000 124.563461 4.795713 133.975586 c
|
||||
9.014142 142.254715 15.745286 148.985855 24.024418 153.204285 c
|
||||
33.436535 158.000000 45.757690 158.000000 70.400002 158.000000 c
|
||||
87.599998 158.000000 l
|
||||
112.242310 158.000000 124.563469 158.000000 133.975586 153.204285 c
|
||||
142.254715 148.985855 148.985855 142.254715 153.204285 133.975586 c
|
||||
158.000000 124.563461 158.000000 112.242310 158.000000 87.599998 c
|
||||
158.000000 70.400002 l
|
||||
158.000000 45.757690 158.000000 33.436531 153.204285 24.024414 c
|
||||
148.985855 15.745285 142.254715 9.014145 133.975586 4.795715 c
|
||||
124.563469 0.000000 112.242310 0.000000 87.599998 0.000000 c
|
||||
70.400002 0.000000 l
|
||||
45.757690 0.000000 33.436535 0.000000 24.024418 4.795715 c
|
||||
15.745286 9.014145 9.014142 15.745285 4.795713 24.024414 c
|
||||
0.000000 33.436531 0.000000 45.757690 0.000000 70.400002 c
|
||||
0.000000 87.599998 l
|
||||
h
|
||||
f
|
||||
n
|
||||
Q
|
||||
|
||||
endstream
|
||||
endobj
|
||||
|
||||
4 0 obj
|
||||
996
|
||||
endobj
|
||||
|
||||
5 0 obj
|
||||
<< /XObject << /X1 1 0 R >>
|
||||
/ExtGState << /E1 << /SMask << /Type /Mask
|
||||
/G 3 0 R
|
||||
/S /Alpha
|
||||
>>
|
||||
/Type /ExtGState
|
||||
>> >>
|
||||
>>
|
||||
endobj
|
||||
|
||||
6 0 obj
|
||||
<< /Length 7 0 R >>
|
||||
stream
|
||||
/DeviceRGB CS
|
||||
/DeviceRGB cs
|
||||
q
|
||||
/E1 gs
|
||||
/X1 Do
|
||||
Q
|
||||
q
|
||||
0.000000 87.599998 m
|
||||
0.000000 112.242310 0.000000 124.563461 4.795713 133.975586 c
|
||||
9.014142 142.254715 15.745286 148.985855 24.024418 153.204285 c
|
||||
33.436535 158.000000 45.757690 158.000000 70.400002 158.000000 c
|
||||
87.599998 158.000000 l
|
||||
112.242310 158.000000 124.563469 158.000000 133.975586 153.204285 c
|
||||
142.254715 148.985855 148.985855 142.254715 153.204285 133.975586 c
|
||||
158.000000 124.563461 158.000000 112.242310 158.000000 87.599998 c
|
||||
158.000000 70.400002 l
|
||||
158.000000 45.757690 158.000000 33.436531 153.204285 24.024414 c
|
||||
148.985855 15.745285 142.254715 9.014145 133.975586 4.795715 c
|
||||
124.563469 0.000000 112.242310 0.000000 87.599998 0.000000 c
|
||||
70.400002 0.000000 l
|
||||
45.757690 0.000000 33.436535 0.000000 24.024418 4.795715 c
|
||||
15.745286 9.014145 9.014142 15.745285 4.795713 24.024414 c
|
||||
0.000000 33.436531 0.000000 45.757690 0.000000 70.400002 c
|
||||
0.000000 87.599998 l
|
||||
h
|
||||
W*
|
||||
n
|
||||
q
|
||||
1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000 cm
|
||||
1.000000 1.000000 1.000000 scn
|
||||
24.024418 4.795715 m
|
||||
24.251413 5.241211 l
|
||||
24.024418 4.795715 l
|
||||
h
|
||||
4.795713 24.024414 m
|
||||
4.350210 23.797424 l
|
||||
4.795713 24.024414 l
|
||||
h
|
||||
153.204285 24.024414 m
|
||||
152.758789 24.251419 l
|
||||
153.204285 24.024414 l
|
||||
h
|
||||
133.975586 4.795715 m
|
||||
133.748581 5.241211 l
|
||||
133.975586 4.795715 l
|
||||
h
|
||||
153.204285 133.975586 m
|
||||
152.758789 133.748581 l
|
||||
153.204285 133.975586 l
|
||||
h
|
||||
24.024418 153.204285 m
|
||||
23.797422 153.649796 l
|
||||
24.024418 153.204285 l
|
||||
h
|
||||
70.400002 157.500000 m
|
||||
87.599998 157.500000 l
|
||||
87.599998 158.500000 l
|
||||
70.400002 158.500000 l
|
||||
70.400002 157.500000 l
|
||||
h
|
||||
157.500000 87.599998 m
|
||||
157.500000 70.400002 l
|
||||
158.500000 70.400002 l
|
||||
158.500000 87.599998 l
|
||||
157.500000 87.599998 l
|
||||
h
|
||||
87.599998 0.500000 m
|
||||
70.400002 0.500000 l
|
||||
70.400002 -0.500000 l
|
||||
87.599998 -0.500000 l
|
||||
87.599998 0.500000 l
|
||||
h
|
||||
0.500000 70.400002 m
|
||||
0.500000 87.599998 l
|
||||
-0.500000 87.599998 l
|
||||
-0.500000 70.400002 l
|
||||
0.500000 70.400002 l
|
||||
h
|
||||
70.400002 0.500000 m
|
||||
58.070595 0.500000 48.853611 0.500381 41.541603 1.097809 c
|
||||
34.235432 1.694748 28.875237 2.885254 24.251413 5.241211 c
|
||||
23.797422 4.350204 l
|
||||
28.585714 1.910446 34.092159 0.703110 41.460171 0.101120 c
|
||||
48.822346 -0.500381 58.087097 -0.500000 70.400002 -0.500000 c
|
||||
70.400002 0.500000 l
|
||||
h
|
||||
-0.500000 70.400002 m
|
||||
-0.500000 58.087097 -0.500389 48.822350 0.101125 41.460167 c
|
||||
0.703115 34.092155 1.910453 28.585709 4.350210 23.797424 c
|
||||
5.241217 24.251419 l
|
||||
2.885260 28.875244 1.694741 34.235428 1.097804 41.541603 c
|
||||
0.500389 48.853615 0.500000 58.070595 0.500000 70.400002 c
|
||||
-0.500000 70.400002 l
|
||||
h
|
||||
24.251413 5.241211 m
|
||||
16.066362 9.411713 9.411708 16.066360 5.241217 24.251419 c
|
||||
4.350210 23.797424 l
|
||||
8.616575 15.424210 15.424210 8.616577 23.797422 4.350204 c
|
||||
24.251413 5.241211 l
|
||||
h
|
||||
157.500000 70.400002 m
|
||||
157.500000 58.070595 157.499619 48.853615 156.902191 41.541603 c
|
||||
156.305252 34.235428 155.114746 28.875244 152.758789 24.251419 c
|
||||
153.649796 23.797424 l
|
||||
156.089554 28.585709 157.296890 34.092155 157.898880 41.460167 c
|
||||
158.500381 48.822350 158.500000 58.087097 158.500000 70.400002 c
|
||||
157.500000 70.400002 l
|
||||
h
|
||||
87.599998 -0.500000 m
|
||||
99.912903 -0.500000 109.177650 -0.500381 116.539833 0.101120 c
|
||||
123.907845 0.703110 129.414291 1.910446 134.202576 4.350204 c
|
||||
133.748581 5.241211 l
|
||||
129.124756 2.885254 123.764572 1.694748 116.458397 1.097809 c
|
||||
109.146385 0.500381 99.929405 0.500000 87.599998 0.500000 c
|
||||
87.599998 -0.500000 l
|
||||
h
|
||||
152.758789 24.251419 m
|
||||
148.588287 16.066360 141.933640 9.411713 133.748581 5.241211 c
|
||||
134.202576 4.350204 l
|
||||
142.575790 8.616577 149.383423 15.424210 153.649796 23.797424 c
|
||||
152.758789 24.251419 l
|
||||
h
|
||||
87.599998 157.500000 m
|
||||
99.929405 157.500000 109.146385 157.499619 116.458397 156.902191 c
|
||||
123.764572 156.305252 129.124756 155.114746 133.748581 152.758789 c
|
||||
134.202576 153.649796 l
|
||||
129.414291 156.089554 123.907845 157.296890 116.539833 157.898880 c
|
||||
109.177650 158.500381 99.912903 158.500000 87.599998 158.500000 c
|
||||
87.599998 157.500000 l
|
||||
h
|
||||
158.500000 87.599998 m
|
||||
158.500000 99.912903 158.500381 109.177658 157.898880 116.539825 c
|
||||
157.296890 123.907837 156.089554 129.414291 153.649796 134.202576 c
|
||||
152.758789 133.748581 l
|
||||
155.114746 129.124756 156.305252 123.764572 156.902191 116.458397 c
|
||||
157.499619 109.146393 157.500000 99.929405 157.500000 87.599998 c
|
||||
158.500000 87.599998 l
|
||||
h
|
||||
133.748581 152.758789 m
|
||||
141.933640 148.588287 148.588287 141.933640 152.758789 133.748581 c
|
||||
153.649796 134.202576 l
|
||||
149.383423 142.575790 142.575790 149.383423 134.202576 153.649796 c
|
||||
133.748581 152.758789 l
|
||||
h
|
||||
70.400002 158.500000 m
|
||||
58.087097 158.500000 48.822346 158.500381 41.460171 157.898880 c
|
||||
34.092159 157.296890 28.585714 156.089554 23.797422 153.649796 c
|
||||
24.251413 152.758789 l
|
||||
28.875237 155.114746 34.235432 156.305252 41.541603 156.902191 c
|
||||
48.853611 157.499619 58.070595 157.500000 70.400002 157.500000 c
|
||||
70.400002 158.500000 l
|
||||
h
|
||||
0.500000 87.599998 m
|
||||
0.500000 99.929405 0.500389 109.146393 1.097804 116.458397 c
|
||||
1.694741 123.764572 2.885260 129.124756 5.241217 133.748581 c
|
||||
4.350210 134.202576 l
|
||||
1.910453 129.414291 0.703115 123.907837 0.101125 116.539825 c
|
||||
-0.500389 109.177658 -0.500000 99.912903 -0.500000 87.599998 c
|
||||
0.500000 87.599998 l
|
||||
h
|
||||
23.797422 153.649796 m
|
||||
15.424210 149.383423 8.616575 142.575790 4.350210 134.202576 c
|
||||
5.241217 133.748581 l
|
||||
9.411708 141.933640 16.066362 148.588287 24.251413 152.758789 c
|
||||
23.797422 153.649796 l
|
||||
h
|
||||
f
|
||||
n
|
||||
Q
|
||||
Q
|
||||
|
||||
endstream
|
||||
endobj
|
||||
|
||||
7 0 obj
|
||||
5258
|
||||
endobj
|
||||
|
||||
8 0 obj
|
||||
<< /Annots []
|
||||
/Type /Page
|
||||
/MediaBox [ 0.000000 0.000000 158.000000 158.000000 ]
|
||||
/Resources 5 0 R
|
||||
/Contents 6 0 R
|
||||
/Parent 9 0 R
|
||||
>>
|
||||
endobj
|
||||
|
||||
9 0 obj
|
||||
<< /Kids [ 8 0 R ]
|
||||
/Count 1
|
||||
/Type /Pages
|
||||
>>
|
||||
endobj
|
||||
|
||||
10 0 obj
|
||||
<< /Pages 9 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
|
||||
xref
|
||||
0 11
|
||||
0000000000 65535 f
|
||||
0000000010 00000 n
|
||||
0000003667 00000 n
|
||||
0000003690 00000 n
|
||||
0000004936 00000 n
|
||||
0000004958 00000 n
|
||||
0000005256 00000 n
|
||||
0000010570 00000 n
|
||||
0000010593 00000 n
|
||||
0000010768 00000 n
|
||||
0000010842 00000 n
|
||||
trailer
|
||||
<< /ID [ (some) (id) ]
|
||||
/Root 10 0 R
|
||||
/Size 11
|
||||
>>
|
||||
startxref
|
||||
10902
|
||||
%%EOF
|
@ -51,7 +51,6 @@ internal enum Asset {
|
||||
internal static let encryptionWarning = ImageAsset(name: "images/encryption-warning")
|
||||
internal static let endedPoll = ImageAsset(name: "images/ended-poll")
|
||||
internal static let launchBackground = ImageAsset(name: "images/launch-background")
|
||||
internal static let launchLogo = ImageAsset(name: "images/launch-logo")
|
||||
internal static let locationMarker = ImageAsset(name: "images/location-marker")
|
||||
internal static let locationPin = ImageAsset(name: "images/location-pin")
|
||||
internal static let locationPointerFull = ImageAsset(name: "images/location-pointer-full")
|
||||
|
@ -22,7 +22,7 @@ struct PillView: View {
|
||||
MXLog.info("TEXT ATTACHMENT TEST")
|
||||
} label: {
|
||||
HStack {
|
||||
Image(asset: Asset.Images.launchLogo)
|
||||
Image(asset: Asset.Images.appLogo)
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
}
|
||||
|
@ -0,0 +1,98 @@
|
||||
//
|
||||
// Copyright 2023 New Vector Ltd
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// The app's logo styled to fit on various launch pages.
|
||||
struct OnboardingLogo: View {
|
||||
@Environment(\.colorScheme) private var colorScheme
|
||||
|
||||
/// Set to `true` when using on top of `Asset.Images.launchBackground`
|
||||
let isOnGradient: Bool
|
||||
|
||||
/// Extra padding needed to avoid cropping the shadows.
|
||||
private let extra: CGFloat = 64
|
||||
/// The shape that the logo is composed on top of.
|
||||
private let outerShape = RoundedRectangle(cornerRadius: 44)
|
||||
private let outerShapeShadowColor = Color(red: 0.11, green: 0.11, blue: 0.13)
|
||||
private var isLight: Bool { colorScheme == .light }
|
||||
|
||||
var body: some View {
|
||||
Image(asset: Asset.Images.appLogo)
|
||||
.background {
|
||||
Circle()
|
||||
.inset(by: 1)
|
||||
.shadow(color: .black.opacity(!isLight && isOnGradient ? 0.3 : 0.4),
|
||||
radius: 12.57143,
|
||||
y: 6.28571)
|
||||
|
||||
Circle()
|
||||
.inset(by: 1)
|
||||
.shadow(color: .black.opacity(0.5),
|
||||
radius: 12.57143,
|
||||
y: 6.28571)
|
||||
.blendMode(.overlay)
|
||||
}
|
||||
.padding(24)
|
||||
.background {
|
||||
Color.white
|
||||
.opacity(isLight ? 0.23 : isOnGradient ? 0.05 : 0.13)
|
||||
}
|
||||
.clipShape(outerShape)
|
||||
.overlay {
|
||||
outerShape
|
||||
.inset(by: 0.25)
|
||||
.stroke(.white.opacity(isLight ? 1 : isOnGradient ? 0.9 : 0.25), lineWidth: 0.5)
|
||||
.blendMode(isLight ? .normal : .overlay)
|
||||
}
|
||||
.padding(extra)
|
||||
.background {
|
||||
ZStack {
|
||||
if !isLight, isOnGradient {
|
||||
outerShape
|
||||
.inset(by: 1)
|
||||
.padding(extra)
|
||||
.shadow(color: .black.opacity(0.5),
|
||||
radius: 32.91666,
|
||||
y: 1.05333)
|
||||
} else {
|
||||
outerShape
|
||||
.inset(by: 1)
|
||||
.padding(extra)
|
||||
.shadow(color: outerShapeShadowColor.opacity(isLight ? 0.23 : 0.08),
|
||||
radius: 16,
|
||||
y: 8)
|
||||
|
||||
outerShape
|
||||
.inset(by: 1)
|
||||
.padding(extra)
|
||||
.shadow(color: outerShapeShadowColor.opacity(0.5),
|
||||
radius: 16,
|
||||
y: 8)
|
||||
.blendMode(.overlay)
|
||||
}
|
||||
}
|
||||
.mask {
|
||||
outerShape
|
||||
.inset(by: -extra / 2)
|
||||
.stroke(lineWidth: extra)
|
||||
.padding(extra)
|
||||
}
|
||||
}
|
||||
.padding(-extra)
|
||||
.accessibilityHidden(true)
|
||||
}
|
||||
}
|
@ -56,8 +56,7 @@ struct OnboardingScreen: View {
|
||||
if verticalSizeClass == .regular {
|
||||
Spacer()
|
||||
|
||||
Image(asset: Asset.Images.launchLogo)
|
||||
.accessibilityHidden(true)
|
||||
OnboardingLogo(isOnGradient: true)
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
@ -22,74 +22,15 @@ class PlaceholderScreenCoordinator: CoordinatorProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
/// The app's splash screen. This screen is shown after the LaunchScreen
|
||||
/// until the app is ready to show the relevant coordinator. The design of
|
||||
/// these 2 screens are matched.
|
||||
/// The screen shown in split view when the detail has no content.
|
||||
struct PlaceholderScreen: View {
|
||||
@Environment(\.colorScheme) private var colorScheme
|
||||
|
||||
private let outerShape = RoundedRectangle(cornerRadius: 44)
|
||||
private var isLight: Bool { colorScheme == .light }
|
||||
|
||||
var body: some View {
|
||||
image
|
||||
.accessibilityHidden(true)
|
||||
OnboardingLogo(isOnGradient: false)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.background()
|
||||
.environment(\.backgroundStyle, AnyShapeStyle(Color.compound.bgCanvasDefault))
|
||||
.ignoresSafeArea(edges: .top)
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
var image: some View {
|
||||
if isLight {
|
||||
logo
|
||||
} else {
|
||||
darkLogo
|
||||
}
|
||||
}
|
||||
|
||||
var logo: some View {
|
||||
Image(asset: Asset.Images.appLogo)
|
||||
.padding(24)
|
||||
.background(.white.opacity(0.4))
|
||||
.clipShape(outerShape)
|
||||
.background {
|
||||
outerShape.fill(Color.white)
|
||||
.shadow(color: Color(red: 0.11, green: 0.11, blue: 0.13).opacity(0.08), radius: 16, y: 8)
|
||||
|
||||
outerShape.fill(Color.white)
|
||||
.shadow(color: Color(red: 0.11, green: 0.11, blue: 0.13).opacity(0.5), radius: 16, y: 8)
|
||||
.blendMode(.overlay)
|
||||
}
|
||||
.overlay {
|
||||
outerShape
|
||||
.inset(by: 0.25)
|
||||
.stroke(.white, lineWidth: 0.5)
|
||||
}
|
||||
}
|
||||
|
||||
var darkLogo: some View {
|
||||
Image(asset: Asset.Images.appLogo)
|
||||
.shadow(color: .black.opacity(0.2), radius: 0.5, y: 2)
|
||||
.shadow(color: Color(red: 0.05, green: 0.74, blue: 0.55).opacity(0.2), radius: 16)
|
||||
.padding(24)
|
||||
.background {
|
||||
LinearGradient(stops: [.init(color: .white.opacity(0.05), location: 0.00),
|
||||
.init(color: .white.opacity(0), location: 1.00)],
|
||||
startPoint: UnitPoint(x: 0, y: 0),
|
||||
endPoint: UnitPoint(x: 1, y: 1))
|
||||
.blendMode(.multiply)
|
||||
}
|
||||
.clipShape(outerShape)
|
||||
.shadow(color: .black.opacity(0.9), radius: 80, x: 0, y: 1)
|
||||
.overlay {
|
||||
outerShape
|
||||
.inset(by: 0.25)
|
||||
.stroke(.white.opacity(0.9), lineWidth: 0.5)
|
||||
.blendMode(.overlay)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct PlaceholderScreen_Previews: PreviewProvider {
|
||||
|
@ -44,11 +44,10 @@ struct WelcomeScreen: View {
|
||||
@ViewBuilder
|
||||
private var header: some View {
|
||||
VStack(spacing: 32) {
|
||||
Image(asset: Asset.Images.launchLogo)
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(width: 118, height: 118)
|
||||
.accessibilityHidden(true)
|
||||
OnboardingLogo(isOnGradient: true)
|
||||
.scaleEffect(x: 0.75, y: 0.75)
|
||||
.padding(.vertical, -20)
|
||||
|
||||
title
|
||||
}
|
||||
}
|
||||
|