[Fixed in 2.4] Closing friends overlay also forfeits the battle

Platform:
iPhone 12 mini

Video:

Steps:

  1. Start a battle
  2. Tap the hamburger button (top left)
  3. Tap the friends button (fifth button along top left, looks like a heart potion)
  4. Tap the close button (top right)

Result:
The battle is forfeit and I am returned to the main screen

Expected:
It should return to the in-battle menu screen

It seems like the intended design is that the Friends overlay can be closed by hitting either the back button (top left) or the close button (top right). That’s how two other in-battle overlay screens behave: Settings (second button) and Chat (fourth button).