Skip to content

Commit 3876e1c

Browse files
madhurgupta10domdomegg
authored andcommitted
Removed duplicate File: from deletion notification (commons-app#2799)
1 parent e3f3c91 commit 3876e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/delete/DeleteHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private boolean showDeletionNotification(Context context, Media media, boolean r
129129
message = "Could not request deletion.";
130130
}
131131

132-
String urlForDelete = BuildConfig.COMMONS_URL + "/wiki/Commons:Deletion_requests/File:" + media.getFilename();
132+
String urlForDelete = BuildConfig.COMMONS_URL + "/wiki/Commons:Deletion_requests/" + media.getFilename();
133133
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(urlForDelete));
134134
notificationHelper.showNotification(context, title, message, NOTIFICATION_DELETE, browserIntent);
135135
return result;

0 commit comments

Comments
 (0)