mod: lint

mod: tweaks

opt: publish page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-04 11:37:13 +08:00
parent 2cfad80214
commit caa58e9d7d
313 changed files with 2751 additions and 2789 deletions

View File

@@ -69,7 +69,7 @@ class Utils {
return _isIpad!;
}
static void shareText(String text) async {
static Future<void> shareText(String text) async {
try {
Rect? sharePositionOrigin;
if (await isIpad()) {
@@ -275,11 +275,12 @@ class Utils {
semanticsLabel.write(videoItem.title);
if (!emptyStatCheck(videoItem.stat.view)) {
semanticsLabel.write(',${Utils.numFormat(videoItem.stat.view)}');
semanticsLabel.write(
(videoItem is RecVideoItemAppModel && videoItem.goto == 'picture')
? '浏览'
: '播放');
semanticsLabel
..write(',${Utils.numFormat(videoItem.stat.view)}')
..write(
(videoItem is RecVideoItemAppModel && videoItem.goto == 'picture')
? '浏览'
: '播放');
}
if (!emptyStatCheck(videoItem.stat.danmu)) {
semanticsLabel.write(',${Utils.numFormat(videoItem.stat.danmu)}弹幕');
@@ -494,7 +495,7 @@ class Utils {
}
// 检查更新
static Future checkUpdate([bool isAuto = true]) async {
static Future<void> checkUpdate([bool isAuto = true]) async {
if (BuildConfig.isDebug) return;
SmartDialog.dismiss();
try {