mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
fix: sys msg: push video
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -188,7 +188,10 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
|||||||
recognizer: TapGestureRecognizer()
|
recognizer: TapGestureRecognizer()
|
||||||
..onTap = () {
|
..onTap = () {
|
||||||
try {
|
try {
|
||||||
PiliScheme.routePushFromUrl(match[3]!);
|
PiliScheme.videoPush(
|
||||||
|
isBV ? null : int.parse(match[3]!),
|
||||||
|
isBV ? match[3]! : null,
|
||||||
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
SmartDialog.showToast(err.toString());
|
SmartDialog.showToast(err.toString());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user