This commit is contained in:
otsmr 2025-03-16 16:51:22 +01:00
parent 909b482af7
commit 9097318b52

View file

@ -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(