diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-05-22 09:16:29 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-05-22 09:16:29 -0600 |
commit | 6dec9856b1b94bfc4b284125920a2be52be6dabf (patch) | |
tree | 7ef395dd11a36c4e88e88716b3db7277884c3c77 /lib/firebase | |
parent | f0e45a5a510d2b4693580179645bd0bb0b352f86 (diff) | |
download | linkchat-6dec9856b1b94bfc4b284125920a2be52be6dabf.tar.gz linkchat-6dec9856b1b94bfc4b284125920a2be52be6dabf.tar.bz2 linkchat-6dec9856b1b94bfc4b284125920a2be52be6dabf.zip |
Se persiste sesión, y se guardan imágenes en caché
Diffstat (limited to 'lib/firebase')
-rw-r--r-- | lib/firebase/auth.dart | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/firebase/auth.dart b/lib/firebase/auth.dart index 303412e..35da5bf 100644 --- a/lib/firebase/auth.dart +++ b/lib/firebase/auth.dart @@ -15,6 +15,7 @@ class Auth { final Database _db = Database(); User? get currentUser => _auth.currentUser; + Stream<User?> get userChanges => _auth.userChanges(); Future<bool> createUserWithEmailAndPassword({ required String email, |