Removed duplicate File: from deletion notification (#2799)

This commit is contained in:
Madhur Gupta 2019-03-30 02:31:30 +05:30 committed by Adam Jones
parent e3f3c915ea
commit 3876e1c52f

View file

@ -129,7 +129,7 @@ public class DeleteHelper {
message = "Could not request deletion.";
}
String urlForDelete = BuildConfig.COMMONS_URL + "/wiki/Commons:Deletion_requests/File:" + media.getFilename();
String urlForDelete = BuildConfig.COMMONS_URL + "/wiki/Commons:Deletion_requests/" + media.getFilename();
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(urlForDelete));
notificationHelper.showNotification(context, title, message, NOTIFICATION_DELETE, browserIntent);
return result;