mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-22 00:52:00 +00:00
yeah just a test
This commit is contained in:
parent
f3ef58db11
commit
eb9582f07a
3 changed files with 11 additions and 16 deletions
|
|
@ -4,6 +4,7 @@
|
|||
//
|
||||
// Created by Francesco on 06/01/25.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ContentView_Previews: PreviewProvider {
|
||||
|
|
|
|||
|
|
@ -276,12 +276,7 @@ struct MediaInfoView: View {
|
|||
endPoint: .bottom
|
||||
)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 0))
|
||||
.shadow(
|
||||
color: (colorScheme == .dark ? Color.black : Color.white).opacity(1),
|
||||
radius: 10,
|
||||
x: 0,
|
||||
y: 10
|
||||
)
|
||||
.shadow(color: (colorScheme == .dark ? Color.black : Color.white).opacity(1), radius: 10, x: 0, y: 10)
|
||||
)
|
||||
}
|
||||
.deviceScaled()
|
||||
|
|
@ -578,7 +573,6 @@ struct MediaInfoView: View {
|
|||
@ViewBuilder
|
||||
private var episodesSection: some View {
|
||||
if episodeLinks.count == 1 {
|
||||
// Don't show episodes list for single-episode media
|
||||
EmptyView()
|
||||
} else {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ struct SearchView: View {
|
|||
OrientationManager.shared.lockOrientation()
|
||||
}
|
||||
|
||||
private func unlockOrientation(after delay: TimeInterval = 1.0) {
|
||||
private func unlockOrientation(after delay: TimeInterval = 0.2) {
|
||||
OrientationManager.shared.unlockOrientation(after: delay)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue