💄 Optimize on tracks

This commit is contained in:
2025-12-20 01:37:00 +08:00
parent 1fc774886b
commit f3af2cf241
8 changed files with 253 additions and 123 deletions

View File

@@ -102,3 +102,15 @@ class CurrentTrackMetadataNotifier extends _$CurrentTrackMetadataNotifier {
state = null;
}
}
@Riverpod(keepAlive: true)
class RemoteTrackLoadingNotifier extends _$RemoteTrackLoadingNotifier {
@override
bool build() {
return false;
}
void setLoading(bool loading) {
state = loading;
}
}