From e95ed6125762a8af46720e0abeecefe74920cbdf Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 14 Jan 2024 10:17:36 +0100 Subject: [PATCH] refactor: Use popupmenudivider instead of workaround --- lib/pages/chat_list/client_chooser_button.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/pages/chat_list/client_chooser_button.dart b/lib/pages/chat_list/client_chooser_button.dart index ad0c3539..e533d37f 100644 --- a/lib/pages/chat_list/client_chooser_button.dart +++ b/lib/pages/chat_list/client_chooser_button.dart @@ -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)