mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-22 01:34:22 +00:00
Improve behavior for language swipe cycling
Implement logic to stop cycling through Switch languages swipe when all subtypes are cycled.
This commit is contained in:
parent
453683a925
commit
63651969a5
10 changed files with 72 additions and 2 deletions
|
@ -80,6 +80,7 @@ public class SettingsValues {
|
|||
public final boolean mBlockPotentiallyOffensive;
|
||||
public final int mSpaceSwipeHorizontal;
|
||||
public final int mSpaceSwipeVertical;
|
||||
public final int mLanguageSwipeDistance;
|
||||
public final boolean mDeleteSwipeEnabled;
|
||||
public final boolean mAutospaceAfterPunctuationEnabled;
|
||||
public final boolean mClipboardHistoryEnabled;
|
||||
|
@ -227,6 +228,7 @@ public class SettingsValues {
|
|||
mDisplayOrientation = res.getConfiguration().orientation;
|
||||
mSpaceSwipeHorizontal = Settings.readHorizontalSpaceSwipe(prefs);
|
||||
mSpaceSwipeVertical = Settings.readVerticalSpaceSwipe(prefs);
|
||||
mLanguageSwipeDistance = Settings.readLanguageSwipeDistance(prefs, res);
|
||||
mDeleteSwipeEnabled = Settings.readDeleteSwipeEnabled(prefs);
|
||||
mAutospaceAfterPunctuationEnabled = Settings.readAutospaceAfterPunctuationEnabled(prefs);
|
||||
mClipboardHistoryEnabled = Settings.readClipboardHistoryEnabled(prefs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue