forked from firka/firka
feat: remove class average widget if there is no data
This commit is contained in:
@@ -257,6 +257,7 @@ class _HomeGradesScreen extends FirkaState<HomeGradesScreen> {
|
||||
),
|
||||
],
|
||||
),
|
||||
if (classAverage != null)
|
||||
FirkaCard(
|
||||
left: [
|
||||
Text(
|
||||
@@ -267,7 +268,6 @@ class _HomeGradesScreen extends FirkaState<HomeGradesScreen> {
|
||||
),
|
||||
],
|
||||
right: [
|
||||
if (classAverage != null)
|
||||
Container(
|
||||
width: 48,
|
||||
height: 26,
|
||||
|
||||
Reference in New Issue
Block a user