Skip to content

Commit

Permalink
94: Fix alternative title not being applied when filter is on
Browse files Browse the repository at this point in the history
  • Loading branch information
JICA98 committed Aug 31, 2024
1 parent 7730146 commit 9166d82
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/maluser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class MalUser {
}) async {
final limit = 1000;
String url =
'${CredMal.userEndPoint}$username/${category}list?fields=genres,media_type,start_date,broadcast,source,studios,list_status,mean${fields == null ? '' : ',${fields}'}&limit=$limit';
'${CredMal.userEndPoint}$username/${category}list?fields=alternative_titles,genres,media_type,start_date,broadcast,source,studios,list_status,mean${fields == null ? '' : ',${fields}'}&limit=$limit';
if (status != null) {
url += "&status=$status";
}
Expand Down
2 changes: 2 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import 'package:dal_commons/dal_commons.dart';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_displaymode/flutter_displaymode.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:provider/provider.dart';
import 'package:dynamic_color/dynamic_color.dart';
Expand Down Expand Up @@ -44,6 +45,7 @@ void main() async {
await StreamUtils.i.init();
final androidInfo = await DeviceInfoPlugin().androidInfo;
androidSDKVersion = androidInfo.version.sdkInt;
await FlutterDisplayMode.setHighRefreshRate();
} catch (e) {}

Node? node;
Expand Down
8 changes: 8 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.0"
flutter_displaymode:
dependency: "direct main"
description:
name: flutter_displaymode
sha256: "42c5e9abd13d28ed74f701b60529d7f8416947e58256e6659c5550db719c57ef"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
flutter_dotenv:
dependency: "direct main"
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ dependencies:
package_info_plus: ^8.0.2
webviewtube: ^2.1.1
graphview: ^1.2.0
flutter_displaymode: ^0.6.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 9166d82

Please sign in to comment.