From e164e73bf414dd09a3f31a9ffc51e9a2e364be6f Mon Sep 17 00:00:00 2001 From: Kelrap Date: Tue, 6 Aug 2024 10:13:23 -0400 Subject: [PATCH] Remove option to report user --- .../user_bottom_sheet_view.dart | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) 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 19e4a524d..ef79c0e31 100644 --- a/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart +++ b/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart @@ -370,15 +370,17 @@ class UserBottomSheetView extends StatelessWidget { onTap: () => controller .participantAction(UserBottomSheetAction.unban), ), - if (user != null && user.id != client.userID) - ListTile( - textColor: Theme.of(context).colorScheme.onErrorContainer, - iconColor: Theme.of(context).colorScheme.onErrorContainer, - title: Text(L10n.of(context)!.reportUser), - leading: const Icon(Icons.report_outlined), - onTap: () => controller - .participantAction(UserBottomSheetAction.report), - ), + // #Pangea + // if (user != null && user.id != client.userID) + // ListTile( + // textColor: Theme.of(context).colorScheme.onErrorContainer, + // iconColor: Theme.of(context).colorScheme.onErrorContainer, + // title: Text(L10n.of(context)!.reportUser), + // leading: const Icon(Icons.report_outlined), + // onTap: () => controller + // .participantAction(UserBottomSheetAction.report), + // ), + // Pangea# if (profileSearchError != null) ListTile( leading: const Icon(