diff --git a/.editorconfig b/.editorconfig index 1c204a5d..5985c766 100644 --- a/.editorconfig +++ b/.editorconfig @@ -20,7 +20,6 @@ continuation_indent_size = 4 wildcard_import_limit = 999 ij_kotlin_name_count_to_use_star_import = 999 ij_kotlin_name_count_to_use_star_import_for_members = 999 -ktlint_standard_backing-property-naming = disabled ktlint_standard_filename = disabled ktlint_code_style = ktlint_official diff --git a/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt b/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt index 804958a7..3404ec19 100644 --- a/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt +++ b/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt @@ -20,7 +20,7 @@ import be.scri.models.SwitchItem class LanguageSettingsFragment : Fragment() { private var _binding: FragmentLanguageSettingsBinding? = null - private val binding get() = _binding!! + val binding get() = _binding!! override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) diff --git a/app/src/main/java/be/scri/views/MyKeyboardView.kt b/app/src/main/java/be/scri/views/MyKeyboardView.kt index a9d318b3..a6f8f202 100644 --- a/app/src/main/java/be/scri/views/MyKeyboardView.kt +++ b/app/src/main/java/be/scri/views/MyKeyboardView.kt @@ -208,7 +208,7 @@ class MyKeyboardView } private var _popupBinding: KeyboardPopupKeyboardBinding? = null - private val popupBinding: KeyboardPopupKeyboardBinding + val popupBinding: KeyboardPopupKeyboardBinding get() { if (_popupBinding == null) { _popupBinding = KeyboardPopupKeyboardBinding.inflate(LayoutInflater.from(context)) @@ -217,7 +217,7 @@ class MyKeyboardView } private var _keyboardBinding: KeyboardViewKeyboardBinding? = null - private val keyboardBinding: KeyboardViewKeyboardBinding + val keyboardBinding: KeyboardViewKeyboardBinding get() { if (_keyboardBinding == null) { _keyboardBinding = KeyboardViewKeyboardBinding.inflate(LayoutInflater.from(context))