mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 18:16:21 +00:00
fixes bugs 5
This commit is contained in:
@ -72,11 +72,12 @@ class DoorRecordsScreen extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
// List of records for the specific date
|
||||
|
||||
DefaultContainer(
|
||||
child: Column(
|
||||
children: [
|
||||
...recordsForDate.map((record) {
|
||||
...recordsForDate.asMap().entries.map((entry) {
|
||||
final int idx = entry.key;
|
||||
final DeviceEvent record = entry.value;
|
||||
final DateTime eventDateTime =
|
||||
DateTime.fromMillisecondsSinceEpoch(
|
||||
record.eventTime!);
|
||||
@ -107,9 +108,11 @@ class DoorRecordsScreen extends StatelessWidget {
|
||||
subtitle: Text('$formattedTime'),
|
||||
),
|
||||
),
|
||||
// Only add Divider if it's not the last item
|
||||
if (idx != recordsForDate.length - 1)
|
||||
const Divider(
|
||||
color: ColorsManager.graysColor,
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
}).toList(),
|
||||
|
@ -173,7 +173,6 @@ class TimerScheduleScreen extends StatelessWidget {
|
||||
|
||||
children: [
|
||||
Center(
|
||||
child: Container(
|
||||
child: Column(
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.center,
|
||||
@ -226,7 +225,6 @@ class TimerScheduleScreen extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
child: twoGangBloc.createSchedule ==
|
||||
true
|
||||
|
Reference in New Issue
Block a user