🎨 Prefer single quote

This commit is contained in:
2024-08-27 14:48:31 +08:00
parent e7ea852725
commit 95b04adede
31 changed files with 470 additions and 630 deletions

View File

@ -81,7 +81,7 @@ class AudioPlayerProvider extends GetxController {
}
Future<AudioPlayerState?> _readSavedState() async {
final data = _prefs.getString("player_state");
final data = _prefs.getString('player_state');
if (data == null) return null;
return AudioPlayerState.fromJson(jsonDecode(data));
@ -89,7 +89,7 @@ class AudioPlayerProvider extends GetxController {
Future<void> _updateSavedState() async {
final out = jsonEncode(state.value.toJson());
await _prefs.setString("player_state", out);
await _prefs.setString('player_state', out);
}
Future<void> addCollections(List<String> collectionIds) async {

View File

@ -8,8 +8,8 @@ class SpotifyProvider extends GetxController {
void onInit() {
api = SpotifyApi(
SpotifyApiCredentials(
"f73d4bff91d64d89be9930036f553534",
"5cbec0b928d247cd891d06195f07b8c9",
'f73d4bff91d64d89be9930036f553534',
'5cbec0b928d247cd891d06195f07b8c9',
),
);
super.onInit();