(Feat) Add google
This commit is contained in:
+4
-8
@@ -1,9 +1,8 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:intl/date_symbol_data_local.dart';
|
||||
import 'package:supabase_flutter/supabase_flutter.dart';
|
||||
|
||||
import 'pocketbase_config.dart';
|
||||
import 'screens/auth_gate.dart';
|
||||
import 'supabase_config.dart';
|
||||
import 'theme.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
@@ -11,11 +10,8 @@ Future<void> main() async {
|
||||
|
||||
await initializeDateFormatting('fr_FR', null);
|
||||
|
||||
if (SupabaseConfig.estConfigure) {
|
||||
await Supabase.initialize(
|
||||
url: SupabaseConfig.url,
|
||||
publishableKey: SupabaseConfig.anonKey,
|
||||
);
|
||||
if (PbConfig.estConfigure) {
|
||||
await initPocketBase();
|
||||
}
|
||||
|
||||
runApp(const MonApp());
|
||||
@@ -27,7 +23,7 @@ class MonApp extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Ma fidélité',
|
||||
title: 'Le Trévériennais',
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: AppTheme.clair(),
|
||||
darkTheme: AppTheme.sombre(),
|
||||
|
||||
Reference in New Issue
Block a user