Formatted some code

pull/1319/head
Jakub Kalinowski 4 years ago
parent 606536695f
commit d88df53679

@ -120,8 +120,9 @@ class NumberPickerFactory
.create() .create()
dialog.setOnShowListener { dialog.setOnShowListener {
val preferences = (context.applicationContext as HabitsApplication).component.preferences val preferences =
if(!preferences.isSkipEnabled){ (context.applicationContext as HabitsApplication).component.preferences
if (!preferences.isSkipEnabled) {
dialog.getButton(BUTTON_NEGATIVE).visibility = View.GONE dialog.getButton(BUTTON_NEGATIVE).visibility = View.GONE
} }
showSoftInput(dialog, pickerInputText) showSoftInput(dialog, pickerInputText)

Loading…
Cancel
Save