Show Toast when download starts

Add toast to inform the user that download started and add the right string in values.
This commit is contained in:
Matskidis Giannis 2021-02-01 00:51:32 +02:00 committed by Stypox
parent ea1b42510c
commit bf6645e829
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
2 changed files with 4 additions and 0 deletions

View file

@ -672,6 +672,9 @@ public class DownloadDialog extends DialogFragment
prefs.edit()
.putString(getString(R.string.last_used_download_type), selectedMediaType)
.apply();
Toast.makeText(context, getString(R.string.download_has_started),
Toast.LENGTH_SHORT).show();
}
private void checkSelectedDownload(final StoredDirectoryHelper mainStorage,