Skip to content

Commit

Permalink
test key in api
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Apr 4, 2024
1 parent d1be1e1 commit 29c5e7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/repository/Spotify/spotify_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ class SpotifyApi {
'playlist-read-collaborative',
];

final String clientID = dotenv.env['CLIENT_ID'] ?? '';
final String clientSecret = dotenv.env['CLIENT_SECRET'] ?? '';
final String clientID =
dotenv.env['CLIENT_ID'] ?? '4ede44382bf14ac3ba1d97ad753b233f';
final String clientSecret =
dotenv.env['CLIENT_SECRET'] ?? 'fb01ad204aff4c12bbcb3ca7ac617990';
final String redirectUrl = '127.0.0.1';
final String spotifyApiUrl = 'https://accounts.spotify.com/api';
final String spotifyApiBaseUrl = 'https://api.spotify.com/v1';
Expand Down
4 changes: 3 additions & 1 deletion lib/screens/screen/library_views/import_media_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ class ImportMediaFromPlatformsView extends StatelessWidget {
appBar: AppBar(
backgroundColor: Default_Theme.themeColor,
foregroundColor: Default_Theme.primaryColor1,
centerTitle: false,
title: Text(
'Import Media From Platforms',
'Import Songs',
textAlign: TextAlign.start,
style: const TextStyle(
color: Default_Theme.primaryColor1,
fontSize: 20,
Expand Down

0 comments on commit 29c5e7f

Please sign in to comment.