gui login state stays right after closing and reopening the app

This commit is contained in:
2023-05-30 17:01:40 +02:00
parent fe4f1d52ae
commit 4c548b030c
2 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ class _GenericListState extends State<GenericList> {
),
floatingActionButton: Consumer<AuthState>(
builder: (context, authState, child) {
if (authState.isSignedIn) {
if (authState.user != null) {
return FloatingActionButton(
onPressed: () {
clearSelectedItems();