mirror of
https://github.com/cranci1/Sora.git
synced 2026-05-13 05:21:09 +00:00
uh?
This commit is contained in:
parent
ff2ce35654
commit
aca5cc6906
1 changed files with 0 additions and 6 deletions
|
|
@ -584,10 +584,6 @@ struct MediaInfoView: View {
|
||||||
private var playAndBookmarkSection: some View {
|
private var playAndBookmarkSection: some View {
|
||||||
HStack(spacing: 12) {
|
HStack(spacing: 12) {
|
||||||
ZStack(alignment: .leading) {
|
ZStack(alignment: .leading) {
|
||||||
RoundedRectangle(cornerRadius: 25)
|
|
||||||
.fill(Color.accentColor)
|
|
||||||
.frame(height: 48)
|
|
||||||
|
|
||||||
Button(action: {
|
Button(action: {
|
||||||
playFirstUnwatchedEpisode()
|
playFirstUnwatchedEpisode()
|
||||||
}) {
|
}) {
|
||||||
|
|
@ -601,7 +597,6 @@ struct MediaInfoView: View {
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
.padding(.vertical, 12)
|
.padding(.vertical, 12)
|
||||||
.padding(.horizontal, 20)
|
.padding(.horizontal, 20)
|
||||||
.background(Color.clear)
|
|
||||||
.contentShape(RoundedRectangle(cornerRadius: 25))
|
.contentShape(RoundedRectangle(cornerRadius: 25))
|
||||||
}
|
}
|
||||||
.disabled(isFetchingEpisode)
|
.disabled(isFetchingEpisode)
|
||||||
|
|
@ -949,7 +944,6 @@ struct MediaInfoView: View {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateLatestProgress() {
|
private func updateLatestProgress() {
|
||||||
Logger.shared.log("Called, Called", type: "General")
|
|
||||||
for ep in episodeLinks.reversed() {
|
for ep in episodeLinks.reversed() {
|
||||||
let last = UserDefaults.standard.double(forKey: "lastPlayedTime_\(ep.href)")
|
let last = UserDefaults.standard.double(forKey: "lastPlayedTime_\(ep.href)")
|
||||||
let total = UserDefaults.standard.double(forKey: "totalTime_\(ep.href)")
|
let total = UserDefaults.standard.double(forKey: "totalTime_\(ep.href)")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue