mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 08:54:55 +03:00
Fix timeout pref
This commit is contained in:
parent
4fd53e74c5
commit
d1f1331f35
@ -127,7 +127,7 @@ public final class Util {
|
||||
|
||||
public static int getNetworkTimeoutMs(Context context) {
|
||||
SharedPreferences prefs = getPreferences(context);
|
||||
return prefs.getInt(Constants.PREFERENCES_KEY_NETWORK_TIMEOUT, 30000);
|
||||
return Integer.parseInt(prefs.getString(Constants.PREFERENCES_KEY_NETWORK_TIMEOUT, "30000"));
|
||||
}
|
||||
|
||||
public static boolean isScreenLitOnDownload(Context context) {
|
||||
|
Loading…
Reference in New Issue
Block a user