mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-12 02:37:18 +02:00
feat: extension runtime and provider improvements
This commit is contained in:
1 parent
21347420f3
commit
ee35f52baf
17 files changed
+1019
-56
No files matched your search
@@ -293,9 +293,11 @@ class _ExtensionsPageState extends ConsumerState<ExtensionsPage> {
|
||||
.map((file) => file.path)
|
||||
.whereType<String>()
|
||||
.toList();
|
||||
final extensionPaths = selectedPaths
|
||||
.where((path) => path.toLowerCase().endsWith('.spotiflac-ext'))
|
||||
.toList();
|
||||
final extensionPaths = selectedPaths.where((path) {
|
||||
final lowerPath = path.toLowerCase();
|
||||
return lowerPath.endsWith('.spotiflac-ext') ||
|
||||
lowerPath.endsWith('.sflx');
|
||||
}).toList();
|
||||
|
||||
if (extensionPaths.length != selectedPaths.length) {
|
||||
if (mounted) {
|
||||
|
||||
Reference in new issue
Block a user