timetable fixes
This commit is contained in:
parent
f3f4f7915d
commit
e31daef26b
@ -476,7 +476,9 @@ class TimetablePageState extends State<TimetablePage>
|
|||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
if (before != null)
|
if (before != null &&
|
||||||
|
(before.end.hour != 0 &&
|
||||||
|
lesson.start.hour != 0))
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(
|
padding: EdgeInsets.only(
|
||||||
top: index == 0
|
top: index == 0
|
||||||
@ -546,7 +548,8 @@ class TimetablePageState extends State<TimetablePage>
|
|||||||
width: 10.0,
|
width: 10.0,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'${before.end.hour}:${before.end.minute} - ${lesson.start.hour}:${lesson.start.minute}',
|
'${DateFormat("hh:mm", I18n.of(context).locale.languageCode).format(before.end)} - ${DateFormat("hh:mm", I18n.of(context).locale.languageCode).format(lesson.start)}',
|
||||||
|
// '${before.end.hour}:${before.end.minute} - ${lesson.start.hour}:${lesson.start.minute}',
|
||||||
style:
|
style:
|
||||||
const TextStyle(
|
const TextStyle(
|
||||||
fontSize: 12.5,
|
fontSize: 12.5,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user