adding delete url
This commit is contained in:
@@ -34,6 +34,7 @@ import 'package:qpay/screens/users/screens/user_list_screen.dart';
|
||||
import 'package:qpay/screens/more/more_screen.dart';
|
||||
import 'package:qpay/screens/uptime/uptime_status_screen.dart';
|
||||
import 'package:qpay/screens/contact/contact_screen.dart';
|
||||
import 'package:qpay/screens/delete_account/delete_account_screen.dart';
|
||||
|
||||
/// Tracks whether the splash animation is complete so that
|
||||
/// GoRouter's redirect can show the splash first, then release
|
||||
@@ -156,6 +157,11 @@ GoRouter buildRouter() {
|
||||
path: '/splash',
|
||||
builder: (context, state) => const SplashScreen(),
|
||||
),
|
||||
// Publicly accessible account deletion screen (Play Store requirement)
|
||||
GoRoute(
|
||||
path: '/delete-account',
|
||||
builder: (context, state) => const DeleteAccountScreen(),
|
||||
),
|
||||
ShellRoute(
|
||||
builder: (context, state, child) {
|
||||
final location = GoRouterState.of(context).uri.toString();
|
||||
|
||||
Reference in New Issue
Block a user