mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 11:20:34 +00:00
Fix prefs load message about invalid values
This commit is contained in:
@@ -108,6 +108,10 @@ public class AppPrefsStorageHandler {
|
||||
return defaultObject;
|
||||
}
|
||||
|
||||
if (tree.isNull()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (PrefsChoiceValue.class.isAssignableFrom(type.getRawClass())) {
|
||||
List<T> all = (List<T>) getAll(type.getRawClass());
|
||||
if (all != null) {
|
||||
|
||||
Reference in New Issue
Block a user