feat: integrate enakgame and voucher
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s

This commit is contained in:
efrilm
2026-10-10 02:33:16 +07:00
parent e5515d5871
commit 38850b281f
104 changed files with 7122 additions and 8063 deletions
@@ -16,7 +16,12 @@ import 'widgets/phone_field.dart';
@RoutePage()
class LoginPage extends StatelessWidget implements AutoRouteWrapper {
const LoginPage({super.key});
const LoginPage({super.key, this.returnAfterLogin = false});
/// Login ulang dari tengah alur (mis. token kedaluwarsa saat main
/// EnakGame): setelah berhasil, halaman login di-pop dengan hasil `true`
/// alih-alih membuka beranda.
final bool returnAfterLogin;
@override
Widget build(BuildContext context) {
@@ -40,6 +45,7 @@ class LoginPage extends StatelessWidget implements AutoRouteWrapper {
context.router.push(
PasswordRoute(
phoneNumber: getNormalizePhone(state.phoneNumber),
returnAfterLogin: returnAfterLogin,
),
);
}