show a success toast after successufull copy

This commit is contained in:
tibbi
2016-11-11 18:39:29 +01:00
parent 36d31ba0ce
commit 08338f3d7a
8 changed files with 16 additions and 9 deletions

View File

@ -495,11 +495,12 @@ public class ItemsFragment extends android.support.v4.app.Fragment
public void copySucceeded(File file) {
rescanItem(file);
fillItems();
Utils.Companion.showToast(getContext(), R.string.copying_success);
}
@Override
public void copyFailed() {
Utils.Companion.showToast(getContext(), R.string.copy_failed);
Utils.Companion.showToast(getContext(), R.string.copying_failed);
}
public interface ItemInteractionListener {