mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-18 07:02:45 +00:00
player fixes
This commit is contained in:
parent
5472c62739
commit
c47d226153
3 changed files with 4 additions and 4 deletions
|
|
@ -32,8 +32,7 @@ class AnalyticsManager {
|
|||
|
||||
// Ensure the key is set with a default value if missing
|
||||
if defaults.object(forKey: "analyticsEnabled") == nil {
|
||||
print("Setting default value for analyticsEnabled")
|
||||
defaults.setValue(true, forKey: "analyticsEnabled")
|
||||
defaults.setValue(false, forKey: "analyticsEnabled")
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -245,8 +245,9 @@ class CustomMediaPlayerViewController: UIViewController {
|
|||
|
||||
watchNextButton = UIButton(type: .system)
|
||||
watchNextButton.setTitle("Watch Next", for: .normal)
|
||||
watchNextButton.setImage(UIImage(systemName: "forward.fill"), for: .normal)
|
||||
watchNextButton.backgroundColor = .white
|
||||
watchNextButton.layer.cornerRadius = 32
|
||||
watchNextButton.layer.cornerRadius = 16
|
||||
watchNextButton.setTitleColor(.black, for: .normal)
|
||||
watchNextButton.addTarget(self, action: #selector(watchNextTapped), for: .touchUpInside)
|
||||
watchNextButton.isHidden = true
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ struct SettingsViewGeneral: View {
|
|||
@AppStorage("episodeChunkSize") private var episodeChunkSize: Int = 100
|
||||
@AppStorage("refreshModulesOnLaunch") private var refreshModulesOnLaunch: Bool = false
|
||||
@AppStorage("fetchEpisodeMetadata") private var fetchEpisodeMetadata: Bool = true
|
||||
@AppStorage("analyticsEnabled") private var analyticsEnabled: Bool = true
|
||||
@AppStorage("analyticsEnabled") private var analyticsEnabled: Bool = false
|
||||
@EnvironmentObject var settings: Settings
|
||||
|
||||
var body: some View {
|
||||
|
|
|
|||
Loading…
Reference in a new issue