mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-27 03:12:58 +00:00
* Fixed episodecells getting stuck sliding
* Enabled device scaling for ipad
not good enough yet, not applied everywhere cuz idk where to apply exactly 💯
* Fixed blur in continue watching cells
* Keyboard controls player
* fixed downloadview buttons
* Reduced tab bar outline opacity
* Increased module selector hitbox
* Fixed module add view
* Fixed mediainfoview issues (description) + changed settingsviewdata footer
medainfoview:
1: no swipe to go back
2: image shadows were fucked
* Fixes
* Splashscreen
* Update Contents.json
* Episodecell getting stuck fix
47 lines
1.4 KiB
Swift
47 lines
1.4 KiB
Swift
//
|
|
// SplashScreenView.swift
|
|
// Sora
|
|
//
|
|
// Created by paul on 11/06/25.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct SplashScreenView: View {
|
|
@State private var isAnimating = false
|
|
@State private var showMainApp = false
|
|
|
|
var body: some View {
|
|
ZStack {
|
|
if showMainApp {
|
|
ContentView()
|
|
} else {
|
|
VStack {
|
|
Image("SplashScreenIcon")
|
|
.resizable()
|
|
.scaledToFit()
|
|
.frame(width: 200, height: 200)
|
|
.cornerRadius(24)
|
|
.scaleEffect(isAnimating ? 1.2 : 1.0)
|
|
.opacity(isAnimating ? 1.0 : 0.0)
|
|
|
|
Text("Sora")
|
|
.font(.largeTitle)
|
|
.fontWeight(.bold)
|
|
.opacity(isAnimating ? 1.0 : 0.0)
|
|
}
|
|
.onAppear {
|
|
withAnimation(.easeIn(duration: 0.5)) {
|
|
isAnimating = true
|
|
}
|
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
|
|
withAnimation(.easeOut(duration: 0.5)) {
|
|
showMainApp = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|