diff --git a/lib/utils/app_scheme.dart b/lib/utils/app_scheme.dart index 473b725b1..04ff64ec4 100644 --- a/lib/utils/app_scheme.dart +++ b/lib/utils/app_scheme.dart @@ -195,21 +195,23 @@ class PiliScheme { return false; case 'opus': // bilibili://opus/detail/12345678?h5awaken=random - String? id = uriDigitRegExp.firstMatch(path)?.group(1); - if (id != null) { - Utils.toDupNamed( - '/htmlRender', - parameters: { - 'url': 'https://www.bilibili.com/opus/$id', - 'title': '', - 'id': id, - 'dynamicType': 'opus' - }, - off: off, - ); - return true; - } - return false; + // String? id = uriDigitRegExp.firstMatch(path)?.group(1); + // if (id != null) { + // Utils.toDupNamed( + // '/htmlRender', + // parameters: { + // 'url': 'https://www.bilibili.com/opus/$id', + // 'title': '', + // 'id': id, + // 'dynamicType': 'opus' + // }, + // off: off, + // ); + // return true; + // } + // return false; + bool hasMatch = await _onPushDynDetail(path, off); + return hasMatch; case 'search': Utils.toDupNamed( '/searchResult',