Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unknown error #1395

Closed
wants to merge 5 commits into from
Closed

Fix unknown error #1395

wants to merge 5 commits into from

Conversation

tobiasKaminsky
Copy link
Contributor

ref: #1394

mServerStatusView.setCompoundDrawablesWithIntrinsicBounds(mServerStatusIcon, 0, 0, 0);
mServerStatusView.setVisibility(View.VISIBLE);
}

}

private void setStatusUrl(){
String text = getString(R.string.auth_unknown_error_title) + "<br/>" + mHostUrlInput.getText().toString().trim() + "/status.php";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that you should use formatted string:

String text = getString(R.string.auth_unknown_error_title, mHostUrlInput.getText().toString().trim() + "/status.php");

and change auth_unknown_error_title string accordingly

@przybylski
Copy link
Member

+1

@LukeOwlclaw LukeOwlclaw mentioned this pull request Mar 18, 2016
@tobiasKaminsky
Copy link
Contributor Author

@davivel this was one of the reason to do this pr: #878

@danimo
Copy link
Contributor

danimo commented Jul 18, 2016

@davivel Can we merge this?
@tobiasKaminsky Can you rebase?

@davivel
Copy link
Contributor

davivel commented Jul 19, 2016

Sorry, but as I explained in #1394 (comment) , this is bad UX.

In #878 the request is showing the error message of status.php. Let's do that, not something halfway.

👎

@jesmrec
Copy link
Collaborator

jesmrec commented Jun 26, 2019

Not planned

@jesmrec jesmrec closed this Jun 26, 2019
@hannesa2 hannesa2 deleted the fixUnknownError branch July 12, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants