Skip to content

Commit

Permalink
Merge pull request #5519 from WoodyMats/release_0.20.9
Browse files Browse the repository at this point in the history
Add toast to inform the user that download started.
  • Loading branch information
Stypox authored Mar 20, 2021
2 parents ea1b425 + bf6645e commit c7efa8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,9 @@ private void prepareSelectedDownload() {
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,
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -713,4 +713,5 @@
<string name="auto_device_theme_title">Automatic (device theme)</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="download_has_started">Download has started</string>
</resources>

0 comments on commit c7efa8c

Please sign in to comment.