TF-1363: [Presentation] Implement disable and enable spam report

This commit is contained in:
HuyNguyen
2023-01-16 17:32:02 +07:00
committed by Dat H. Pham
parent 7a85c15f98
commit 04fd640384
27 changed files with 388 additions and 199 deletions
@@ -15,7 +15,7 @@ class SpamReportBannerWidget extends StatelessWidget {
final _imagePaths = Get.find<ImagePaths>();
return Obx(() {
if (_spamReportController.notShowSpamReportBanner) {
if (!_spamReportController.enableSpamReport || _spamReportController.notShowSpamReportBanner) {
return const SizedBox.shrink();
}
return Container(