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 'package:device_info_plus/device_info_plus.dart';
|
||||||
import '../../../../core/di/injection_container.dart';
|
import '../../../../core/di/injection_container.dart';
|
||||||
import '../../../../routes/route_paths.dart';
|
import '../../../../routes/route_paths.dart';
|
||||||
|
import '../../../../routes/app_router.dart';
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
/// 个人中心页面 - 显示用户信息、社区数据、收益和设置
|
/// 个人中心页面 - 显示用户信息、社区数据、收益和设置
|
||||||
|
|
@ -250,10 +251,10 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
|
||||||
void _goToSharePage() {
|
void _goToSharePage() {
|
||||||
context.push(
|
context.push(
|
||||||
RoutePaths.share,
|
RoutePaths.share,
|
||||||
extra: {
|
extra: SharePageParams(
|
||||||
'shareLink': 'https://s3.szaiai.com/rwadurian/app-release.apk',
|
shareLink: 'https://s3.szaiai.com/rwadurian/app-release.apk',
|
||||||
'referralCode': _referralCode,
|
referralCode: _referralCode,
|
||||||
},
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue