mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
show only fieldname in toast when saving failed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
ea50cf60e5
commit
983509396d
2 changed files with 1 additions and 2 deletions
|
@ -464,7 +464,6 @@ public class ProfileController extends BaseController {
|
|||
item.text = userInfo.getValueByField(item.field);
|
||||
Toast.makeText(getApplicationContext(),
|
||||
String.format(getResources().getString(R.string.failed_to_save),
|
||||
item.text,
|
||||
item.field),
|
||||
Toast.LENGTH_LONG).show();
|
||||
adapter.updateFilteredList();
|
||||
|
|
|
@ -388,5 +388,5 @@
|
|||
<string name="path_password_strike_through" translatable="false" tools:override="true">M3.27,4.27L19.74,20.74</string>
|
||||
<string name="tooManyUnreadMessages" translatable="false">999+</string>
|
||||
<string name="nc_action_open_main_menu">Open main menu</string>
|
||||
<string name="failed_to_save">Failed to save %1$s as %2$s</string>
|
||||
<string name="failed_to_save">Failed to save %1$s</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue