Fix invalid type crash when attempting to recover keyboard landscape height.
A bug with setter using long means it easier to just use long going forward.
This commit is contained in:
parent
5648fd2e91
commit
912299bcfd
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ public final class MiscellaneousValues extends SignalStoreValues {
|
|||
}
|
||||
|
||||
public int getKeyboardLandscapeHeight() {
|
||||
int height = getInteger(KEYBOARD_LANDSCAPE_HEIGHT, 0);
|
||||
int height = (int) getLong(KEYBOARD_LANDSCAPE_HEIGHT, 0);
|
||||
if (height == 0) {
|
||||
//noinspection deprecation
|
||||
height = PreferenceManager.getDefaultSharedPreferences(ApplicationDependencies.getApplication())
|
||||
|
|
Loading…
Add table
Reference in a new issue