mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 13:08:42 +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": {},
|
"@searchUserNameRejectUserTooltip": {},
|
||||||
"searchUserNameArchiveUserTooltip": "Benutzer archivieren. Du wirst informiert sobald er deine Anfrage akzeptiert.",
|
"searchUserNameArchiveUserTooltip": "Benutzer archivieren. Du wirst informiert sobald er deine Anfrage akzeptiert.",
|
||||||
"@searchUserNameArchiveUserTooltip": {},
|
"@searchUserNameArchiveUserTooltip": {},
|
||||||
|
"userFound": "Benutzer gefunden",
|
||||||
|
"@userFound": {},
|
||||||
|
"userFoundBody": "Möchtest du eine Folgeanfrage stellen?",
|
||||||
|
"@userFoundBody": {},
|
||||||
"chatListViewSearchUserNameBtn": "Füge deinen ersten twonly-Kontakt hinzu!",
|
"chatListViewSearchUserNameBtn": "Füge deinen ersten twonly-Kontakt hinzu!",
|
||||||
"chatListViewSendFirstTwonly": "Sende dein erstes twonly!",
|
"chatListViewSendFirstTwonly": "Sende dein erstes twonly!",
|
||||||
"chatListDetailInput": "Nachricht eingeben",
|
"chatListDetailInput": "Nachricht eingeben",
|
||||||
|
|
|
||||||
|
|
@ -256,6 +256,10 @@
|
||||||
"@toggleFlashLight": {},
|
"@toggleFlashLight": {},
|
||||||
"toggleHighQuality": "Toggle better resolution",
|
"toggleHighQuality": "Toggle better resolution",
|
||||||
"@toggleHighQuality": {},
|
"@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": "\"{username}\" is not a twonly user. Please check the username and try again.",
|
||||||
"@searchUsernameNotFoundLong": {
|
"@searchUsernameNotFoundLong": {
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,11 @@ class _SearchUsernameView extends State<SearchUsernameView> {
|
||||||
|
|
||||||
if (res.isSuccess) {
|
if (res.isSuccess) {
|
||||||
final addUser = await showAlertDialog(
|
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) {
|
if (!addUser || !context.mounted) {
|
||||||
|
setState(() {
|
||||||
|
_isLoading = false;
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue