mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
opt: push opus
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -195,21 +195,23 @@ class PiliScheme {
|
|||||||
return false;
|
return false;
|
||||||
case 'opus':
|
case 'opus':
|
||||||
// bilibili://opus/detail/12345678?h5awaken=random
|
// bilibili://opus/detail/12345678?h5awaken=random
|
||||||
String? id = uriDigitRegExp.firstMatch(path)?.group(1);
|
// String? id = uriDigitRegExp.firstMatch(path)?.group(1);
|
||||||
if (id != null) {
|
// if (id != null) {
|
||||||
Utils.toDupNamed(
|
// Utils.toDupNamed(
|
||||||
'/htmlRender',
|
// '/htmlRender',
|
||||||
parameters: {
|
// parameters: {
|
||||||
'url': 'https://www.bilibili.com/opus/$id',
|
// 'url': 'https://www.bilibili.com/opus/$id',
|
||||||
'title': '',
|
// 'title': '',
|
||||||
'id': id,
|
// 'id': id,
|
||||||
'dynamicType': 'opus'
|
// 'dynamicType': 'opus'
|
||||||
},
|
// },
|
||||||
off: off,
|
// off: off,
|
||||||
);
|
// );
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
return false;
|
// return false;
|
||||||
|
bool hasMatch = await _onPushDynDetail(path, off);
|
||||||
|
return hasMatch;
|
||||||
case 'search':
|
case 'search':
|
||||||
Utils.toDupNamed(
|
Utils.toDupNamed(
|
||||||
'/searchResult',
|
'/searchResult',
|
||||||
|
|||||||
Reference in New Issue
Block a user