Skip to content

Commit

Permalink
Add support for blocking and disconnecting text in connection screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Jan 7, 2025
1 parent a3372b3 commit e815f07
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ private fun TunnelState.text() =
is TunnelState.Disconnected -> textResource(id = R.string.disconnected)
is TunnelState.Disconnecting ->
when (actionAfterDisconnect) {
ActionAfterDisconnect.Nothing -> textResource(id = R.string.disconnected)
ActionAfterDisconnect.Block -> textResource(id = R.string.connected)
ActionAfterDisconnect.Nothing -> textResource(id = R.string.disconnecting)
ActionAfterDisconnect.Block -> textResource(id = R.string.blocking)
ActionAfterDisconnect.Reconnect -> textResource(id = R.string.connecting)
}
is TunnelState.Error ->
Expand Down

0 comments on commit e815f07

Please sign in to comment.