feat: Enhance navigation robustness by redirecting to the appropriate home page on navigation errors or when popping the root route.
This commit is contained in:
@@ -3,7 +3,6 @@ import 'package:design_system/design_system.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:flutter_modular/flutter_modular.dart';
|
||||
import 'package:krow_core/core.dart';
|
||||
|
||||
import '../blocs/billing_bloc.dart';
|
||||
import '../blocs/billing_state.dart';
|
||||
@@ -21,7 +20,6 @@ class PendingInvoicesPage extends StatelessWidget {
|
||||
appBar: UiAppBar(
|
||||
title: t.client_billing.awaiting_approval,
|
||||
showBackButton: true,
|
||||
onLeadingPressed: () => Modular.to.toClientBilling(),
|
||||
),
|
||||
body: _buildBody(context, state),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user