mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 02:39:23 +02:00
unencrypted protocol message
This commit is contained in:
parent
1fbd102402
commit
357d3ecd3e
5 changed files with 21 additions and 15 deletions
|
@ -67,11 +67,11 @@ public class AuthenticationActivity extends Activity {
|
|||
findTextView(R.id.authentication_subtitle).setVisibility(View.GONE);
|
||||
}
|
||||
final TextView warningView = findTextView(R.id.authentication_unencrypted_warning);
|
||||
//if ("https".equalsIgnoreCase(intent.getStringExtra(SCHEME_KEY))) {
|
||||
if ("https".equalsIgnoreCase(intent.getStringExtra(SCHEME_KEY))) {
|
||||
warningView.setVisibility(View.GONE);
|
||||
//} else {
|
||||
// warningView.setText(myResource.getResource("unencryptedWarning").getValue());
|
||||
//}
|
||||
} else {
|
||||
warningView.setText(myResource.getResource("unencryptedWarning").getValue());
|
||||
}
|
||||
findTextView(R.id.authentication_username_label).setText(
|
||||
myResource.getResource("login").getValue()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue