зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1314563 - Change state icon and message when url icon is clicked r=sebastian
MozReview-Commit-ID: 5KDVFVse9Tu --HG-- extra : rebase_source : 808bc0f70841224163b9ee1b66f3fdd96ef125f6
This commit is contained in:
Родитель
2cfbaefbeb
Коммит
f306b4ac22
|
@ -363,6 +363,14 @@ public class SiteIdentityPopup extends AnchoredPopup implements GeckoEventListen
|
|||
|
||||
mSecurityState.setText(R.string.identity_connection_insecure);
|
||||
mSecurityState.setTextColor(ContextCompat.getColor(mContext, R.color.placeholder_active_grey));
|
||||
|
||||
} else if (siteIdentity.isSecurityException()) {
|
||||
|
||||
mIcon.setImageResource(R.drawable.lock_inactive);
|
||||
setSecurityStateIcon(R.drawable.warning_major, 1);
|
||||
mSecurityState.setText(R.string.identity_connection_insecure);
|
||||
mSecurityState.setTextColor(ContextCompat.getColor(mContext, R.color.placeholder_active_grey));
|
||||
|
||||
} else {
|
||||
// Connection is secure.
|
||||
mIcon.setImageResource(R.drawable.lock_secure);
|
||||
|
|
Загрузка…
Ссылка в новой задаче