🎨 Prefer single quote
This commit is contained in:
@ -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 {
|
||||
|
@ -8,8 +8,8 @@ class SpotifyProvider extends GetxController {
|
||||
void onInit() {
|
||||
api = SpotifyApi(
|
||||
SpotifyApiCredentials(
|
||||
"f73d4bff91d64d89be9930036f553534",
|
||||
"5cbec0b928d247cd891d06195f07b8c9",
|
||||
'f73d4bff91d64d89be9930036f553534',
|
||||
'5cbec0b928d247cd891d06195f07b8c9',
|
||||
),
|
||||
);
|
||||
super.onInit();
|
||||
|
Reference in New Issue
Block a user