You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
PropertyValuesHolder: fix for int properties
This commit is contained in:
@@ -122,6 +122,8 @@ public class PropertyValuesHolder {
|
||||
Class<?> clazz;
|
||||
if (values_float != null) {
|
||||
clazz = float.class;
|
||||
} else if (values_int != null) {
|
||||
clazz = int.class;
|
||||
} else {
|
||||
clazz = values_object[0].getClass();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user