diff options
author | Thialfihar <thi@thialfihar.org> | 2015-07-21 22:05:55 +0200 |
---|---|---|
committer | Thialfihar <thi@thialfihar.org> | 2015-07-21 22:47:55 +0200 |
commit | 313188c69529bb426c6b09ce631812717d8be2d3 (patch) | |
tree | d714ff8d84c30ba3a0b8f7c90000998355d46906 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java | |
parent | 3a810676fcae892849ffcafdfe6e20aa72414080 (diff) | |
download | open-keychain-313188c69529bb426c6b09ce631812717d8be2d3.tar.gz open-keychain-313188c69529bb426c6b09ce631812717d8be2d3.tar.bz2 open-keychain-313188c69529bb426c6b09ce631812717d8be2d3.zip |
Fix key view toolbar and status colour
The status bar wrongly used the same colour as the toolbar, making it
indistinguishable from it. This calculates the status bar colour based
on the toolbar colour.
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java index 2ed5a6e97..673092e61 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java @@ -222,7 +222,7 @@ public class ViewKeyAdvActivity extends BaseActivity implements } } mToolbar.setBackgroundColor(color); - mStatusBar.setBackgroundColor(color); + mStatusBar.setBackgroundColor(ViewKeyActivity.getStatusBarBackgroundColor(color)); mSlidingTabLayout.setBackgroundColor(color); break; |