mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-08 09:01:10 +02:00
fix: resolve analyzer warnings
- Fix empty catch block in track_provider.dart with comment - Replace deprecated withOpacity() with withValues(alpha:) in library_settings_page.dart
This commit is contained in:
1 parent
99e0d3d361
commit
3eb2fdd7fa
2 files changed
+7
-6
No files matched your search
@@ -556,7 +556,8 @@ class TrackNotifier extends Notifier<TrackState> {
|
||||
final tracks = List<Track>.from(state.tracks);
|
||||
tracks[index] = updatedTrack;
|
||||
state = state.copyWith(tracks: tracks);
|
||||
} catch (e) {
|
||||
} catch (_) {
|
||||
// Silently ignore update failures - track may have been removed
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user