player fixes

This commit is contained in:
cranci1 2025-03-03 08:52:54 +01:00
parent 5472c62739
commit c47d226153
3 changed files with 4 additions and 4 deletions

View file

@ -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")
}

View file

@ -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

View file

@ -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 {