Skip to content

Commit 9ee04f3

Browse files
authored
ReviewController: remove call to review category notif builder while sending thanks (#3655)
1 parent e341e77 commit 9ee04f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/fr/free/nrw/commons/review/ReviewController.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ void sendThanks(@NonNull Activity activity) {
148148
.inject(this);
149149
ViewUtil.showShortToast(context, context.getString(R.string.send_thank_toast, media.getDisplayTitle()));
150150

151-
publishProgress(context, 0);
152151
if (firstRevision == null) {
153152
return;
154153
}
@@ -157,7 +156,6 @@ void sendThanks(@NonNull Activity activity) {
157156
.subscribeOn(Schedulers.io())
158157
.observeOn(AndroidSchedulers.mainThread())
159158
.subscribe((result) -> {
160-
publishProgress(context, 2);
161159
String message;
162160
String title;
163161
if (result) {

0 commit comments

Comments
 (0)