add bath event type
This commit is contained in:
@@ -801,6 +801,12 @@ class MainActivity : AppCompatActivity() {
|
||||
askWeightValue()
|
||||
dismiss()
|
||||
})
|
||||
contentView.findViewById<View>(R.id.button_bath).setOnClickListener({
|
||||
logEvent(
|
||||
LunaEvent(LunaEvent.TYPE_BATH)
|
||||
)
|
||||
dismiss()
|
||||
})
|
||||
}.also { popupWindow ->
|
||||
popupWindow.setOnDismissListener({
|
||||
Handler(mainLooper).postDelayed({
|
||||
|
Reference in New Issue
Block a user