forked from firka/student-legacy
fixed some icons
This commit is contained in:
parent
d740dea1f7
commit
7ac8c55b17
@ -74,7 +74,7 @@ class SubjectIcon {
|
|||||||
return SubjectIconData(
|
return SubjectIconData(
|
||||||
data: createIcon(
|
data: createIcon(
|
||||||
cupertino: CupertinoIcons.compass,
|
cupertino: CupertinoIcons.compass,
|
||||||
material: Icons.hourglass_empty_outlined),
|
material: Icons.explore_outlined),
|
||||||
name: "safari");
|
name: "safari");
|
||||||
} else if (RegExp("foldrajz").hasMatch(name)) {
|
} else if (RegExp("foldrajz").hasMatch(name)) {
|
||||||
return SubjectIconData(
|
return SubjectIconData(
|
||||||
|
@ -267,7 +267,12 @@ class GradeValueWidget extends StatelessWidget {
|
|||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
);
|
);
|
||||||
} else if (value.valueName.toLowerCase().specialChars() == 'nem irt') {
|
} else if (value.valueName.toLowerCase().specialChars() == 'nem irt') {
|
||||||
valueText = const Icon(FeatherIcons.slash);
|
valueText = Icon(
|
||||||
|
Icons.edit_off_rounded,
|
||||||
|
size: size / 1.5,
|
||||||
|
);
|
||||||
|
|
||||||
|
color = AppColors.of(context).text;
|
||||||
} else {
|
} else {
|
||||||
valueText = Stack(alignment: Alignment.topRight, children: [
|
valueText = Stack(alignment: Alignment.topRight, children: [
|
||||||
Transform.translate(
|
Transform.translate(
|
||||||
|
@ -32,7 +32,7 @@ class AbsenceDisplay extends StatelessWidget {
|
|||||||
if (excused > 0 && pending > 0) const SizedBox(width: 6.0),
|
if (excused > 0 && pending > 0) const SizedBox(width: 6.0),
|
||||||
if (pending > 0)
|
if (pending > 0)
|
||||||
Icon(
|
Icon(
|
||||||
Icons.hourglass_bottom,
|
Icons.hourglass_bottom_rounded,
|
||||||
size: 14.0,
|
size: 14.0,
|
||||||
color: AppColors.of(context).orange,
|
color: AppColors.of(context).orange,
|
||||||
),
|
),
|
||||||
|
@ -143,7 +143,7 @@ class AbsenceTile extends StatelessWidget {
|
|||||||
case Justification.excused:
|
case Justification.excused:
|
||||||
return FeatherIcons.check;
|
return FeatherIcons.check;
|
||||||
case Justification.pending:
|
case Justification.pending:
|
||||||
return Icons.hourglass_bottom;
|
return Icons.hourglass_bottom_rounded;
|
||||||
case Justification.unexcused:
|
case Justification.unexcused:
|
||||||
return FeatherIcons.x;
|
return FeatherIcons.x;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user