mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 15:28:40 +00:00
buf fix
This commit is contained in:
parent
909b482af7
commit
9097318b52
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class UserCheckbox extends StatelessWidget {
|
|||
StreamBuilder(
|
||||
stream: twonlyDatabase.watchFlameCounter(user.userId),
|
||||
builder: (context, snapshot) {
|
||||
if (!snapshot.hasData && snapshot.data! != 0) {
|
||||
if (!snapshot.hasData || snapshot.data! == 0) {
|
||||
return Container();
|
||||
}
|
||||
return FlameCounterWidget(
|
||||
|
|
|
|||
Loading…
Reference in a new issue