sync changes
This commit is contained in:
parent
77d6a5a51d
commit
8fd84c3929
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
6
android/app/src/main/res/raw/keep.xml
Normal file
6
android/app/src/main/res/raw/keep.xml
Normal 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/*"
|
||||||
|
/>
|
||||||
|
|
@ -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');
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue