refactor: Use popupmenudivider instead of workaround

pull/825/head
krille-chan 2 years ago
parent a538056f98
commit e95ed61257
No known key found for this signature in database

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

Loading…
Cancel
Save