diff --git a/app/src/main/java/com/readrops/app/activities/AddAccountActivity.java b/app/src/main/java/com/readrops/app/activities/AddAccountActivity.java index e518b0d5..b1017d04 100644 --- a/app/src/main/java/com/readrops/app/activities/AddAccountActivity.java +++ b/app/src/main/java/com/readrops/app/activities/AddAccountActivity.java @@ -4,7 +4,6 @@ import android.content.Intent; import android.os.Bundle; import android.util.Patterns; import android.view.View; -import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import androidx.databinding.DataBindingUtil; @@ -114,8 +113,7 @@ public class AddAccountActivity extends AppCompatActivity { finish(); } else { binding.addAccountValidate.setEnabled(true); - Toast.makeText(AddAccountActivity.this, "Impossible to login", - Toast.LENGTH_LONG).show(); + Utils.showSnackbar(binding.addAccountRoot, getString(R.string.login_failed)); } }