Fix sign-in, title bar, formatting
This commit is contained in:
parent
e996702408
commit
de8d898289
@ -69,8 +69,6 @@ Future<bool> isLoggedIn(BuildContext context) async {
|
||||
final token = prefs.getString('token');
|
||||
if (token == null) {
|
||||
prefs.remove('id');
|
||||
loggedIn = false;
|
||||
user = User as User?;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -56,17 +56,12 @@ Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
|
||||
title: Row(
|
||||
children: [
|
||||
const SizedBox(width: 55),
|
||||
Text('SkanTravels',
|
||||
title: Text('SkanTravels',
|
||||
style: GoogleFonts.jacquesFrancois(
|
||||
fontSize: 30,
|
||||
color: Colors.black,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
drawer: Drawer(
|
||||
child: ListView(
|
||||
|
Loading…
Reference in New Issue
Block a user