mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: incorrect dynamic share url
This commit is contained in:
@@ -6,6 +6,7 @@ class HttpString {
|
||||
static const String liveBaseUrl = 'https://api.live.bilibili.com';
|
||||
static const String passBaseUrl = 'https://passport.bilibili.com';
|
||||
static const String messageBaseUrl = 'https://message.bilibili.com';
|
||||
static const String dynamicShareBaseUrl = 'https://t.bilibili.com';
|
||||
static const List<int> validateStatusCodes = [
|
||||
302,
|
||||
304,
|
||||
|
||||
@@ -169,7 +169,7 @@ class MorePanel extends StatelessWidget {
|
||||
onTap: () async {
|
||||
Get.back();
|
||||
var result = await Share.share(
|
||||
'${HttpString.baseUrl}/dynamic/${item.idStr} UP主: ${item.modules.moduleAuthor.name}')
|
||||
'${HttpString.dynamicShareBaseUrl}/${item.idStr}')
|
||||
.whenComplete(() {});
|
||||
return result;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user