chore(createEvent): Use consistent naming for button attrs
This commit is contained in:
parent
d85b685407
commit
95c4211e08
|
@ -50,7 +50,7 @@ class CreateEventActivity : AppCompatActivity() {
|
|||
private lateinit var txtStartTime: TextInputEditText
|
||||
private lateinit var txtEndTime: TextInputEditText
|
||||
private lateinit var btnColorPicker: MaterialButton
|
||||
private lateinit var addCategoryButton: ImageButton
|
||||
private lateinit var btnAddCategory: ImageButton
|
||||
private lateinit var btnCreateEvent: MaterialButton
|
||||
private lateinit var btnClose: MaterialButton
|
||||
private lateinit var categoryRecyclerView: RecyclerView
|
||||
|
@ -96,7 +96,7 @@ class CreateEventActivity : AppCompatActivity() {
|
|||
txtStartTime = findViewById(R.id.txtStartTime)
|
||||
txtEndTime = findViewById(R.id.txtEndTime)
|
||||
btnColorPicker = findViewById(R.id.btnColorPicker)
|
||||
addCategoryButton = findViewById(R.id.btnAddCategory)
|
||||
btnAddCategory = findViewById(R.id.btnAddCategory)
|
||||
btnCreateEvent = findViewById(R.id.btnCreateEvent)
|
||||
btnClose = findViewById(R.id.btnClose)
|
||||
categoryViewSwitcher = findViewById(R.id.categoryViewSwitcher)
|
||||
|
@ -147,7 +147,7 @@ class CreateEventActivity : AppCompatActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
addCategoryButton.setOnClickListener { addCategory() }
|
||||
btnAddCategory.setOnClickListener { addCategory() }
|
||||
btnColorPicker.setOnClickListener { openColorPickerDialog() }
|
||||
btnCreateEvent.setOnClickListener { createEvent() }
|
||||
btnClose.setOnClickListener { finish() }
|
||||
|
|
Loading…
Reference in a new issue