Text to resource.

This commit is contained in:
anonTree1417
2020-03-31 21:21:49 +02:00
parent b4996c0e6d
commit 5fdbc98d6e
3 changed files with 3 additions and 1 deletions

View File

@@ -464,7 +464,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
Log.e("onFailure-version", t.toString());
if(t instanceof NoRouteToHostException) {
Toasty.info(getApplicationContext(), "Could not connect to host. Please check your url or port " + "for issues.");
Toasty.info(getApplicationContext(), getResources().getString(R.string.malformedUrl));
}
else {
Toasty.info(getApplicationContext(), getResources().getString(R.string.commentError));