refactor: Use popupmenudivider instead of workaround
This commit is contained in:
parent
a538056f98
commit
e95ed61257
1 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue