Skip to content

Commit

Permalink
chore: Follow up correct context
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Aug 13, 2023
1 parent 419a9f4 commit 6c5ffbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6c5ffbb

Please sign in to comment.