mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-18 08:06:21 +08:00
opt: scheme
This commit is contained in:
committed by
bggRGjQaUbCoE
parent
2b1759bd10
commit
a635767561
@@ -133,11 +133,13 @@ class PiliScheme {
|
||||
IconButton(
|
||||
tooltip: '前往原视频',
|
||||
onPressed: () {
|
||||
String? enterUri = uri
|
||||
.toString()
|
||||
.split('?')
|
||||
.first; // to check
|
||||
routePush(Uri.parse(enterUri));
|
||||
routePush(
|
||||
Uri(
|
||||
scheme: uri.scheme,
|
||||
host: uri.host,
|
||||
path: uri.path,
|
||||
),
|
||||
);
|
||||
},
|
||||
icon: const Icon(Icons.open_in_new),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user