Shorten key exchange error toast text

This commit is contained in:
eddy 2026-07-26 17:23:55 +02:00
commit d21a560d0c

View file

@ -169,11 +169,11 @@ class SettingsActivity : AppCompatActivity() {
finish() finish()
} }
is KeyResult.Error -> { is KeyResult.Error -> {
Toast.makeText(this, "${result.message} — probeer het opnieuw", Toast.LENGTH_LONG).show() Toast.makeText(this, "Sleutel uitwisselen mislukt - probeer opnieuw", Toast.LENGTH_LONG).show()
cleanupAction() cleanupAction()
} }
null -> { null -> {
Toast.makeText(this, "Sleutel niet gevonden — probeer het opnieuw", Toast.LENGTH_SHORT).show() Toast.makeText(this, "Sleutel uitwisselen mislukt - probeer opnieuw", Toast.LENGTH_SHORT).show()
cleanupAction() cleanupAction()
} }
} }