Skip to content

End Call and Leave Call Actions Are Reversed #1

@martinhuszti

Description

@martinhuszti

Bug Report

It looks like the end call and leave call behaviors have been switched by mistake.

Expected Behavior

  • Leaving the call should not end it.
  • Ending the call should end it.

Actual Behavior

The opposite seems to happen, likely due to the logic being flipped.

Reference

InSession.kt - Lines 103–108

findViewById<MaterialButton>(R.id.leavebtn).apply {
    setOnClickListener { zoomSessionViewModel.closeSession(true) }
}
findViewById<MaterialButton>(R.id.endbtn).apply {
    setOnClickListener { zoomSessionViewModel.closeSession(false) }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions