From 40c1ecee8ae7d3ff0c44ca59d9e87c21bc2f8c87 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:42:11 +0800 Subject: [PATCH] version 1.0.6 --- lib/pages/video/video_page.dart | 4 +++- lib/request/api.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/pages/video/video_page.dart b/lib/pages/video/video_page.dart index de1e3e6..d9ef7ab 100644 --- a/lib/pages/video/video_page.dart +++ b/lib/pages/video/video_page.dart @@ -508,7 +508,9 @@ class _VideoPageState extends State with WindowListener { : Icons.fullscreen_exit), onPressed: () { if (videoController.androidFullscreen) { - danmakuController.onClear(); + try { + danmakuController.onClear(); + } catch(_) {} playerController.exitFullScreen(); } else { playerController.enterFullScreen(); diff --git a/lib/request/api.dart b/lib/request/api.dart index a979f7a..e723d9d 100644 --- a/lib/request/api.dart +++ b/lib/request/api.dart @@ -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.0.5'; + static const String version = '1.0.6'; 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"; diff --git a/pubspec.yaml b/pubspec.yaml index 211ee70..7ae8b25 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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.0.5+1 +version: 1.0.6+1 environment: sdk: '>=3.2.6 <4.0.0'