mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
revert: push opus
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -537,24 +537,24 @@ class PiliScheme {
|
|||||||
}
|
}
|
||||||
launchURL();
|
launchURL();
|
||||||
return false;
|
return false;
|
||||||
case 'opus':
|
// case 'opus':
|
||||||
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;
|
||||||
}
|
// }
|
||||||
launchURL();
|
// launchURL();
|
||||||
return false;
|
// return false;
|
||||||
case 'dynamic':
|
case 'dynamic' || 'opus':
|
||||||
bool hasMatch = await _onPushDynDetail(path, off);
|
bool hasMatch = await _onPushDynDetail(path, off);
|
||||||
if (hasMatch.not) {
|
if (hasMatch.not) {
|
||||||
launchURL();
|
launchURL();
|
||||||
|
|||||||
Reference in New Issue
Block a user