opt.: no Tag Switcher on desktop (#932)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-08 21:21:23 +08:00
committed by GitHub
parent 3307fca620
commit bb3e3b4848
6 changed files with 55 additions and 39 deletions

View File

@@ -113,11 +113,13 @@ class _ServerOrderPageState extends ConsumerState<ServerOrderPage> {
return const SizedBox();
}
final name = spi.name.characters.firstOrNull ?? '?';
return ListTile(
title: Text(spi.name, style: const TextStyle(fontWeight: FontWeight.w500)),
subtitle: Text(spi.oldId, style: UIs.textGrey),
leading: CircleAvatar(
child: Text(spi.name[0]),
child: Text(name),
),
trailing: ReorderableDragStartListener(index: index, child: const Icon(Icons.drag_handle)),
);