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:
parent
ea1b42510c
commit
bf6645e829
2 changed files with 4 additions and 0 deletions
|
@ -672,6 +672,9 @@ public class DownloadDialog extends DialogFragment
|
||||||
prefs.edit()
|
prefs.edit()
|
||||||
.putString(getString(R.string.last_used_download_type), selectedMediaType)
|
.putString(getString(R.string.last_used_download_type), selectedMediaType)
|
||||||
.apply();
|
.apply();
|
||||||
|
|
||||||
|
Toast.makeText(context, getString(R.string.download_has_started),
|
||||||
|
Toast.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkSelectedDownload(final StoredDirectoryHelper mainStorage,
|
private void checkSelectedDownload(final StoredDirectoryHelper mainStorage,
|
||||||
|
|
|
@ -713,4 +713,5 @@
|
||||||
<string name="auto_device_theme_title">Automatic (device theme)</string>
|
<string name="auto_device_theme_title">Automatic (device theme)</string>
|
||||||
<string name="night_theme_summary">Select your favorite night theme — %s</string>
|
<string name="night_theme_summary">Select your favorite night theme — %s</string>
|
||||||
<string name="select_night_theme_toast">You can select your favorite night theme below</string>
|
<string name="select_night_theme_toast">You can select your favorite night theme below</string>
|
||||||
|
<string name="download_has_started">Download has started</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue