1
0
Fork 0
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:
Nikolay Pultsin 2011-04-24 13:55:52 +01:00
parent 1fbd102402
commit 357d3ecd3e
5 changed files with 21 additions and 15 deletions

View file

@ -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()
);