fix: skip SAF picker on Android TV

This commit is contained in:
edde746
2026-03-25 20:56:32 +01:00
parent 843faee4c5
commit bfe35220aa
2 changed files with 8 additions and 0 deletions
@@ -1050,6 +1050,11 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
selectedPath = await safService.pickDirectory();
if (selectedPath != null) {
pathType = 'saf';
} else if (PlatformDetector.isTV()) {
if (mounted) {
showErrorSnackBar(context, t.settings.downloadLocationSelectError);
}
return;
}
} else {
// Use file_picker on desktop