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:
hailin 2025-12-08 23:56:32 -08:00
parent dbe0cc2870
commit 20e0f6c953
1 changed files with 5 additions and 4 deletions

View File

@ -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,
),
);
}