mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-09-01 20:16:27 +02:00
refactor: omit unnecessary String.valueOf
call
This commit is contained in:
parent
66040302a9
commit
09c7605f1f
@ -77,7 +77,7 @@ public class ReVancedSettingsFragment extends PreferenceFragment {
|
||||
try {
|
||||
String value = sharedPreferences.getString(setting.getPath(), setting.getDefaultValue() + "");
|
||||
listPref.setDefaultValue(value);
|
||||
listPref.setSummary(videoSpeedEntries[listPref.findIndexOfValue(String.valueOf(value))]);
|
||||
listPref.setSummary(videoSpeedEntries[listPref.findIndexOfValue(value)]);
|
||||
SettingsEnum.PREFERRED_VIDEO_SPEED.saveValue(value);
|
||||
} catch (Throwable th) {
|
||||
LogHelper.printException(ReVancedSettingsFragment.class, "Error setting value of speed" + th);
|
||||
|
Loading…
Reference in New Issue
Block a user