mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-23 01:20:51 +00:00
readDefaultLanguageSwipeDistance returns int
This commit is contained in:
parent
b0b455774d
commit
2fb844b62f
1 changed files with 1 additions and 2 deletions
|
@ -152,7 +152,6 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
|
|||
|
||||
public static final String PREF_SPACE_TO_CHANGE_LANG = "prefs_long_press_keyboard_to_change_lang";
|
||||
public static final String PREF_LANGUAGE_SWIPE_DISTANCE = "language_swipe_distance";
|
||||
public static final int DEFAULT_LANGUAGE_SWIPE_DISTANCE = 10;
|
||||
|
||||
public static final String PREF_ENABLE_CLIPBOARD_HISTORY = "enable_clipboard_history";
|
||||
public static final String PREF_CLIPBOARD_HISTORY_RETENTION_TIME = "clipboard_history_retention_time";
|
||||
|
@ -458,7 +457,7 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
|
|||
}
|
||||
|
||||
public static int readDefaultLanguageSwipeDistance(final Resources res) {
|
||||
return DEFAULT_LANGUAGE_SWIPE_DISTANCE;
|
||||
return 10;
|
||||
}
|
||||
|
||||
public static boolean readDeleteSwipeEnabled(final SharedPreferences prefs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue