-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating text for middle suggestion settings #739
Conversation
Just for your information (@codokie unfortunately already knows how it is...): I don't have enough time recently, and instead of getting better it seems to be getting worse 😐 |
// make sure typed word is shown, so user is able to override incoming autocorrection | ||
// If there is an incoming autocorrection, make sure typed word is shown, so user is able to override it. | ||
// Otherwise, if the relevant setting is enabled, show the typed word in the middle. | ||
val typedIndex = if (hasAutoCorrection) 2 else 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typedIndex
is a confusing name, please be more explicit (e.g. indexOfTypedWord
)
@@ -87,6 +87,7 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang | |||
public static final String PREF_AUTO_CORRECTION = "auto_correction"; | |||
public static final String PREF_MORE_AUTO_CORRECTION = "more_auto_correction"; | |||
public static final String PREF_AUTO_CORRECTION_CONFIDENCE = "auto_correction_confidence"; | |||
public static final String PREF_CENTER_SUGGESTION_TEXT_TO_COMMIT = "center_suggestion_text_to_commit"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you adapt the setting name for the changed wording?
Hey I noticed that it fails to compile:
Could you replace |
Hey just fixed and pushed the change. Sorry about that. Is that going to need a new PR? |
I'll do the fix myself, don't worry |
Continuing PR #672