From 6c5ffbb7839efdb1c165abd1a70f632297189c21 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 13 Aug 2023 18:27:57 +0200 Subject: [PATCH] chore: Follow up correct context --- lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart b/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart index 133561d14..04ec2662c 100644 --- a/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart +++ b/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart @@ -22,7 +22,7 @@ class UserBottomSheetView extends StatelessWidget { controller.widget.profile?.userId.localpart)!; final avatarUrl = user?.avatarUrl ?? controller.widget.profile?.avatarUrl; - final client = Matrix.of(context).client; + final client = Matrix.of(controller.widget.outerContext).client; final profileSearchError = controller.widget.profileSearchError; return SafeArea( child: Scaffold(