Merge pull request #556 from pangeachat/remove-report-user

Remove option to report user
pull/1384/head
ggurdin 1 year ago committed by GitHub
commit 5155b522b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -370,15 +370,17 @@ class UserBottomSheetView extends StatelessWidget {
onTap: () => controller onTap: () => controller
.participantAction(UserBottomSheetAction.unban), .participantAction(UserBottomSheetAction.unban),
), ),
if (user != null && user.id != client.userID) // #Pangea
ListTile( // if (user != null && user.id != client.userID)
textColor: Theme.of(context).colorScheme.onErrorContainer, // ListTile(
iconColor: Theme.of(context).colorScheme.onErrorContainer, // textColor: Theme.of(context).colorScheme.onErrorContainer,
title: Text(L10n.of(context)!.reportUser), // iconColor: Theme.of(context).colorScheme.onErrorContainer,
leading: const Icon(Icons.report_outlined), // title: Text(L10n.of(context)!.reportUser),
onTap: () => controller // leading: const Icon(Icons.report_outlined),
.participantAction(UserBottomSheetAction.report), // onTap: () => controller
), // .participantAction(UserBottomSheetAction.report),
// ),
// Pangea#
if (profileSearchError != null) if (profileSearchError != null)
ListTile( ListTile(
leading: const Icon( leading: const Icon(

Loading…
Cancel
Save