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 {
release {
signingConfig signingConfigs.release
shrinkResources false
shrinkResources true
minifyEnabled true
}
debug {

View file

@ -103,9 +103,7 @@
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LEANBACK_LAUNCHER"
/>
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</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
},
options: Options(responseType: ResponseType.json));
print(res.data);
final accessToken = res.data['access_token'] as String?;
if (accessToken == 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/settings.dart';
import 'package:freezer/translations.i18n.dart';
<<<<<<< Updated upstream
=======
import 'package:isar/isar.dart';
import '../download.dart' as dl;
>>>>>>> Stashed changes
class DownloadManager {
//implements dl.DownloadManager {