You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (
pref.getBoolean(
SettingsActivity.KEY_BIO_AUTOLOAD,
SettingsActivity.DEFAULT_BIO_AUTOLOAD
)
) {
ktlint would complain about Unexpected indentation (16) (should be 20) on the two args lines and closing parenthesis line. ktlint -F would try to reformat it as:
if (
pref.getBoolean(
SettingsActivity.KEY_BIO_AUTOLOAD,
SettingsActivity.DEFAULT_BIO_AUTOLOAD
)
) {
Expected Behavior
Expect this code to remain unchanged after reformatting
Observed Behavior
Steps to Reproduce
Try to format the given example, indentation rule will insert unnecessary spacings before arguments and rbrace
Your Environment
The text was updated successfully, but these errors were encountered: