mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 13:05:11 +00:00
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(
|
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…
Reference in a new issue