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