fix phone dashboard
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import '../../../core/providers/auth_provider.dart';
|
||||
import '../../../widgets/app_back_button.dart';
|
||||
import 'client_shell.dart';
|
||||
|
||||
class MyBookingsScreen extends ConsumerWidget {
|
||||
@@ -13,7 +14,10 @@ class MyBookingsScreen extends ConsumerWidget {
|
||||
|
||||
if (auth.status != AuthStatus.authenticated) {
|
||||
return ClientShell(
|
||||
appBar: AppBar(title: const Text('My Bookings')),
|
||||
appBar: AppBar(
|
||||
leading: const AppBackButton(fallbackRoute: '/client'),
|
||||
title: const Text('My Bookings'),
|
||||
),
|
||||
body: Center(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(32),
|
||||
@@ -53,7 +57,10 @@ class MyBookingsScreen extends ConsumerWidget {
|
||||
}
|
||||
|
||||
return ClientShell(
|
||||
appBar: AppBar(title: const Text('My Bookings')),
|
||||
appBar: AppBar(
|
||||
leading: const AppBackButton(fallbackRoute: '/client'),
|
||||
title: const Text('My Bookings'),
|
||||
),
|
||||
body: const Center(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
Reference in New Issue
Block a user