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
@@ -51,7 +51,7 @@ class SharePreferenceSpamReportDataSourceImpl extends SpamReportDataSource {
}
@override
Future<void> deletestoreSpamReportState() {
Future<void> deleteSpamReportState() {
return Future.sync(() async {
return await _sharePreferenceSpamReportDataSource.deleteLastTimeDismissedSpamReported();
}).catchError((error) {
@@ -47,7 +47,7 @@ class SpamReportDataSourceImpl extends SpamReportDataSource {
}
@override
Future<void> deletestoreSpamReportState() {
Future<void> deleteSpamReportState() {
throw UnimplementedError();
}