Skip to content

Commit

Permalink
version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Predidit committed Mar 29, 2024
1 parent 49192ff commit 2859836
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/bean/anime/anime_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class _BangumiPanelState extends State<BangumiPanel> {
),
),
SizedBox(
height: Platform.isWindows ? 72 : 400,
height: Platform.isWindows ? 72 : (MediaQuery.of(context).size.height - (MediaQuery.of(context).size.width * 9 /16 ) - 100),
// width: Platform.isWindows ? 300: null,
child: GridView.builder(
controller: listViewScrollCtr,
Expand Down
9 changes: 9 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ void main() async {
windowManager.setMaximizable(false);
windowManager.setResizable(false);
}
if(Platform.isAndroid || Platform.isIOS) {
// 小白条、导航栏沉浸
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
systemNavigationBarColor: Colors.transparent,
systemNavigationBarDividerColor: Colors.transparent,
statusBarColor: Colors.transparent,
));
}
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
MediaKit.ensureInitialized();
await GStorage.init();
Expand Down
2 changes: 2 additions & 0 deletions lib/pages/video/video_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ class _VideoPageState extends State<VideoPage> with WindowListener {
'已经是最新一集');
return;
}
SmartDialog.showToast(
'跳转到第 ${videoController.episode + 1} 话');
videoController.changeEpisode(
videoController.episode + 1);
},
Expand Down
2 changes: 1 addition & 1 deletion lib/request/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Api {
static const String domain = HttpString.baseUrl + '/';
static const String animeList = 'https://d1zquzjgwo9yb.cloudfront.net/';
static const String videoAPI = 'https://v.anime1.me/api';
static const String version = '1.1.0';
static const String version = '1.1.1';
static const String sourceUrl = "https://github.com/Predidit/oneAnime";
static const String aniDanmakuAPI = "https://ani.gamer.com.tw/ajax/danmuGet.php";
static const String aniSearch = "https://ani.gamer.com.tw/search.php";
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.0+1
version: 1.1.1+1

environment:
sdk: '>=3.2.6 <4.0.0'
Expand Down

0 comments on commit 2859836

Please sign in to comment.