sync changes

This commit is contained in:
Pato05 2024-01-17 20:41:28 +01:00
parent 77d6a5a51d
commit 8fd84c3929
No known key found for this signature in database
GPG key ID: F53CA394104BA0CB
5 changed files with 65 additions and 63 deletions

View file

@ -60,7 +60,7 @@ android {
buildTypes { buildTypes {
release { release {
signingConfig signingConfigs.release signingConfig signingConfigs.release
shrinkResources false shrinkResources true
minifyEnabled true minifyEnabled true
} }
debug { debug {

View file

@ -103,9 +103,7 @@
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
android:name="android.intent.category.LEANBACK_LAUNCHER"
/>
</intent-filter> </intent-filter>
</activity> </activity>
<!-- <!--

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- keep assets (notification, playback icons, ...) -->
<resources
xmlns:tools="http://schemas.android.com/tools"
tools:keep="@drawable/*"
/>

View file

@ -144,6 +144,7 @@ class DeezerAPI {
'hash': hash 'hash': hash
}, },
options: Options(responseType: ResponseType.json)); options: Options(responseType: ResponseType.json));
print(res.data);
final accessToken = res.data['access_token'] as String?; final accessToken = res.data['access_token'] as String?;
if (accessToken == null) { if (accessToken == null) {
throw Exception('login failed, access token is null'); throw Exception('login failed, access token is null');

View file

@ -12,11 +12,8 @@ import 'package:freezer/api/paths.dart';
import 'package:freezer/main.dart'; import 'package:freezer/main.dart';
import 'package:freezer/settings.dart'; import 'package:freezer/settings.dart';
import 'package:freezer/translations.i18n.dart'; import 'package:freezer/translations.i18n.dart';
<<<<<<< Updated upstream
=======
import 'package:isar/isar.dart'; import 'package:isar/isar.dart';
import '../download.dart' as dl; import '../download.dart' as dl;
>>>>>>> Stashed changes
class DownloadManager { class DownloadManager {
//implements dl.DownloadManager { //implements dl.DownloadManager {