Shorten key exchange error toast text
This commit is contained in:
parent
1d17251341
commit
d21a560d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue