mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Make phone device rows cards matching the notifications list
Wrap compact (phone) device rows in a Card instead of a bare Material+Divider so they get the same rounded, spaced look as the notifications list. Drop the row divider on narrow layouts and reduce the phone page size to 5 to account for the taller card rows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f64b4d3559
commit
52533f447c
@@ -312,7 +312,7 @@ class DeviceRowCompact extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
return Material(
|
||||
return Card(
|
||||
color: device.isRegistered ? null : theme.colorScheme.secondaryContainer,
|
||||
child: ListTile(
|
||||
onTap: () => context.push('/devices/${device.macAddress}'),
|
||||
|
||||
Reference in New Issue
Block a user