@@ -677,7 +677,7 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
|
||||
await _settingsService.setEnableHardwareDecoding(value);
|
||||
},
|
||||
),
|
||||
if (Platform.isAndroid || Platform.isIOS || Platform.isMacOS)
|
||||
if ((Platform.isAndroid && !PlatformDetector.isTV()) || Platform.isIOS || Platform.isMacOS)
|
||||
SwitchListTile(
|
||||
focusNode: _focusTracker.get(_kAutoPip),
|
||||
secondary: const AppIcon(Symbols.picture_in_picture_alt_rounded, fill: 1),
|
||||
|
||||
@@ -1098,6 +1098,7 @@ class SettingsService extends BaseSharedPreferencesService {
|
||||
|
||||
bool getAutoPip() {
|
||||
if (!Platform.isAndroid && !Platform.isIOS && !Platform.isMacOS) return false;
|
||||
if (PlatformDetector.isTV()) return false;
|
||||
// Default enabled on mobile, disabled on macOS
|
||||
return prefs.getBool(_keyAutoPip) ?? !Platform.isMacOS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user