diff --git a/JellyfinPlayer/App/JellyfinPlayerApp.swift b/JellyfinPlayer/App/JellyfinPlayerApp.swift index 34e5c3fa..27440a56 100644 --- a/JellyfinPlayer/App/JellyfinPlayerApp.swift +++ b/JellyfinPlayer/App/JellyfinPlayerApp.swift @@ -19,8 +19,7 @@ struct JellyfinPlayerApp: App { var body: some Scene { WindowGroup { - // TODO: Replace with a SplashView - Color(appAppearance.style == .light ? UIColor.white : UIColor.black) + EmptyView() .ignoresSafeArea() .onAppear { setupAppearance() diff --git a/JellyfinPlayer/Assets.xcassets/LaunchScreenBackground.colorset/Contents.json b/JellyfinPlayer/Assets.xcassets/LaunchScreenBackground.colorset/Contents.json new file mode 100644 index 00000000..04256378 --- /dev/null +++ b/JellyfinPlayer/Assets.xcassets/LaunchScreenBackground.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "1.000", + "green" : "1.000", + "red" : "1.000" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.000", + "green" : "0.000", + "red" : "0.000" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/Contents.json b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/Contents.json new file mode 100644 index 00000000..e708d061 --- /dev/null +++ b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "swiftfin-logo.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "swiftfin-logo-1.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "swiftfin-logo-2.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo-1.png b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo-1.png new file mode 100644 index 00000000..efdfe428 Binary files /dev/null and b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo-1.png differ diff --git a/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo-2.png b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo-2.png new file mode 100644 index 00000000..efdfe428 Binary files /dev/null and b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo-2.png differ diff --git a/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo.png b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo.png new file mode 100644 index 00000000..efdfe428 Binary files /dev/null and b/JellyfinPlayer/Assets.xcassets/swiftfin-logo.imageset/swiftfin-logo.png differ diff --git a/JellyfinPlayer/Info.plist b/JellyfinPlayer/Info.plist index b8c7ecaf..8ad4f31b 100644 --- a/JellyfinPlayer/Info.plist +++ b/JellyfinPlayer/Info.plist @@ -62,9 +62,14 @@ network. UIApplicationSupportsIndirectInputEvents UILaunchScreen - - UILaunchStoryboardName - VideoPlayer + + UIImageRespectsSafeAreaInsets + + UIImageName + swiftfin-logo + UIColorName + LaunchScreenBackground + UIRequiredDeviceCapabilities armv7