Update SnackbarMaker.java

Zip downloads don't go into /MagiskManager anymore, they go into /Download instead. Snackbar should be updated accordingly.
This commit is contained in:
Nicholas 2018-08-27 22:42:06 +08:00 committed by John Wu
parent 25aa86a0dc
commit 4ace228fc2

View File

@ -40,7 +40,7 @@ public class SnackbarMaker {
public static void showUri(Activity activity, Uri uri) {
make(activity, activity.getString(R.string.internal_storage,
"/MagiskManager/" + Utils.getNameFromUri(activity, uri)),
"/Download/" + Utils.getNameFromUri(activity, uri)),
Snackbar.LENGTH_LONG)
.setAction(R.string.ok, (v)->{}).show();
}