Added toast message duration

Provides users time to react to visual changes

Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
CloudyRowly 2024-03-20 21:01:39 +07:00 committed by GitHub
parent 14ffc95af1
commit 5762da2dbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -889,7 +889,7 @@ public class DownloadDialog extends DialogFragment
freeSpace = mainStorage.getFreeMemory();
if (freeSpace <= size) {
Toast.makeText(context, getString(R.
string.error_insufficient_storage), Toast.LENGTH_SHORT).show();
string.error_insufficient_storage), Toast.LENGTH_LONG).show();
// move the user to storage setting tab
final Intent storageSettingsIntent = new Intent(Settings.
ACTION_INTERNAL_STORAGE_SETTINGS);