Skip to content

Commit

Permalink
updated color codes for android status and nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
AIIX authored Jul 28, 2020
1 parent 1fb768a commit 96b2179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ int main(int argc, char *argv[])
QAndroidJniObject window = QtAndroid::androidActivity().callObjectMethod("getWindow", "()Landroid/view/Window;");
window.callMethod<void>("addFlags", "(I)V", FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
window.callMethod<void>("clearFlags", "(I)V", FLAG_TRANSLUCENT_STATUS);
window.callMethod<void>("setStatusBarColor", "(I)V", QColor("#31363b").rgba());
window.callMethod<void>("setNavigationBarColor", "(I)V", QColor("#31363b").rgba());
window.callMethod<void>("setStatusBarColor", "(I)V", QColor("#303030").rgba());
window.callMethod<void>("setNavigationBarColor", "(I)V", QColor("#303030").rgba());
});
#endif

Expand Down

0 comments on commit 96b2179

Please sign in to comment.