fix(mobile-app): use SharePageParams instead of Map for share navigation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
dbe0cc2870
commit
20e0f6c953
|
|
@ -8,6 +8,7 @@ import 'package:package_info_plus/package_info_plus.dart';
|
|||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
import '../../../../core/di/injection_container.dart';
|
||||
import '../../../../routes/route_paths.dart';
|
||||
import '../../../../routes/app_router.dart';
|
||||
import 'dart:async';
|
||||
|
||||
/// 个人中心页面 - 显示用户信息、社区数据、收益和设置
|
||||
|
|
@ -250,10 +251,10 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
|
|||
void _goToSharePage() {
|
||||
context.push(
|
||||
RoutePaths.share,
|
||||
extra: {
|
||||
'shareLink': 'https://s3.szaiai.com/rwadurian/app-release.apk',
|
||||
'referralCode': _referralCode,
|
||||
},
|
||||
extra: SharePageParams(
|
||||
shareLink: 'https://s3.szaiai.com/rwadurian/app-release.apk',
|
||||
referralCode: _referralCode,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue