Skip to content

Commit

Permalink
优化部分代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Beseting committed Dec 9, 2019
1 parent 332c5ae commit 786034e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
if (getSupportActionBar() != null)
getSupportActionBar().hide();
if (getSupportActionBar() != null)
if (getActionBar() != null)
getSupportActionBar().hide();
setContentView(R.layout.activity_image_browse);
StatusBarUtil.setColor(this, Color.BLACK, 0);
Expand Down

0 comments on commit 786034e

Please sign in to comment.