add bath event type

This commit is contained in:
2025-10-26 13:54:16 +01:00
parent a1bde917f8
commit 36b848b95e
4 changed files with 22 additions and 0 deletions
@@ -821,6 +821,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({