mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
fix #124
This commit is contained in:
parent
d96ce82e4f
commit
68e8c09c07
3 changed files with 12 additions and 1 deletions
|
|
@ -48,6 +48,10 @@
|
|||
"@searchUserNameRejectUserTooltip": {},
|
||||
"searchUserNameArchiveUserTooltip": "Benutzer archivieren. Du wirst informiert sobald er deine Anfrage akzeptiert.",
|
||||
"@searchUserNameArchiveUserTooltip": {},
|
||||
"userFound": "Benutzer gefunden",
|
||||
"@userFound": {},
|
||||
"userFoundBody": "Möchtest du eine Folgeanfrage stellen?",
|
||||
"@userFoundBody": {},
|
||||
"chatListViewSearchUserNameBtn": "Füge deinen ersten twonly-Kontakt hinzu!",
|
||||
"chatListViewSendFirstTwonly": "Sende dein erstes twonly!",
|
||||
"chatListDetailInput": "Nachricht eingeben",
|
||||
|
|
|
|||
|
|
@ -256,6 +256,10 @@
|
|||
"@toggleFlashLight": {},
|
||||
"toggleHighQuality": "Toggle better resolution",
|
||||
"@toggleHighQuality": {},
|
||||
"userFound": "User found",
|
||||
"@userFound": {},
|
||||
"userFoundBody": "Do you want to create a follow request?",
|
||||
"@userFoundBody": {},
|
||||
"searchUsernameNotFoundLong": "\"{username}\" is not a twonly user. Please check the username and try again.",
|
||||
"@searchUsernameNotFoundLong": {
|
||||
"placeholders": {
|
||||
|
|
|
|||
|
|
@ -72,8 +72,11 @@ class _SearchUsernameView extends State<SearchUsernameView> {
|
|||
|
||||
if (res.isSuccess) {
|
||||
final addUser = await showAlertDialog(
|
||||
context, "User found", "Do you want to create a follow request?");
|
||||
context, context.lang.userFound, context.lang.userFoundBody);
|
||||
if (!addUser || !context.mounted) {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue