Merge pull request #5519 from WoodyMats/release_0.20.9

Add toast to inform the user that download started.
pull/5879/head
Stypox 2021-03-20 22:19:13 +01:00 zatwierdzone przez GitHub
commit c7efa8c4f1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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,

Wyświetl plik

@ -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>