refactor: Use popupmenudivider instead of workaround

This commit is contained in:
krille-chan 2024-01-14 10:17:36 +01:00
parent a538056f98
commit e95ed61257
No known key found for this signature in database

View file

@ -88,10 +88,7 @@ class ClientChooserButton extends StatelessWidget {
],
),
),
const PopupMenuItem(
value: null,
child: Divider(height: 1),
),
const PopupMenuDivider(),
for (final bundle in bundles) ...[
if (matrix.accountBundles[bundle]!.length != 1 ||
matrix.accountBundles[bundle]!.single!.userID != bundle)