Tentative ajout image à la playlist.
continuous-integration/drone/push Build is passing Details

messagerie_lucas_test
Félix MIELCAREK 2 years ago
parent d2f94d8909
commit 5268982baa

@ -6,7 +6,7 @@ import '../main.dart';
class MyInAppBrowser extends InAppBrowser {
var options = InAppBrowserClassOptions(
crossPlatform:
InAppBrowserOptions(hideUrlBar: true, hideToolbarTop: true),
InAppBrowserOptions(hideUrlBar: true, hideToolbarTop: true),
inAppWebViewGroupOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(javaScriptEnabled: true)));
@ -27,9 +27,6 @@ class MyInAppBrowser extends InAppBrowser {
if (url!.origin + url.path == MyApp.api.redirectUri) {
try {
await MyApp.api.requestUserAuthorization(url);
var id = await MyApp.api.getCurrentlyPlayingTrack();
await MyApp.api
.addToPLaylist(id);
//TODO : end the adding of playlist image
} on ApiException {
// TODO : add notification to show that an error occured

Loading…
Cancel
Save