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(
|
||||
data: createIcon(
|
||||
cupertino: CupertinoIcons.compass,
|
||||
material: Icons.hourglass_empty_outlined),
|
||||
material: Icons.explore_outlined),
|
||||
name: "safari");
|
||||
} else if (RegExp("foldrajz").hasMatch(name)) {
|
||||
return SubjectIconData(
|
||||
|
@ -267,7 +267,12 @@ class GradeValueWidget extends StatelessWidget {
|
||||
textAlign: TextAlign.center,
|
||||
);
|
||||
} 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 {
|
||||
valueText = Stack(alignment: Alignment.topRight, children: [
|
||||
Transform.translate(
|
||||
|
@ -32,7 +32,7 @@ class AbsenceDisplay extends StatelessWidget {
|
||||
if (excused > 0 && pending > 0) const SizedBox(width: 6.0),
|
||||
if (pending > 0)
|
||||
Icon(
|
||||
Icons.hourglass_bottom,
|
||||
Icons.hourglass_bottom_rounded,
|
||||
size: 14.0,
|
||||
color: AppColors.of(context).orange,
|
||||
),
|
||||
|
@ -143,7 +143,7 @@ class AbsenceTile extends StatelessWidget {
|
||||
case Justification.excused:
|
||||
return FeatherIcons.check;
|
||||
case Justification.pending:
|
||||
return Icons.hourglass_bottom;
|
||||
return Icons.hourglass_bottom_rounded;
|
||||
case Justification.unexcused:
|
||||
return FeatherIcons.x;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user