Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #256 from daveeeh/detailsflickering
Browse files Browse the repository at this point in the history
Fix details fragment "flickering"
  • Loading branch information
lgallard authored Dec 8, 2020
2 parents 48faf6b + e0cab07 commit 2130f23
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4210,7 +4210,9 @@ public void onSuccess(TransferInfo transferInfo) {

headerInfo = (LinearLayout) findViewById(R.id.header);

if (header) {
boolean detailsFragment = findViewById(R.id.details_refresh_layout)!=null && findViewById(R.id.activity_main_swipe_refresh_layout)==null;

if (header&!detailsFragment) {
headerInfo.setVisibility(View.VISIBLE);
} else {
headerInfo.setVisibility(View.GONE);
Expand Down

0 comments on commit 2130f23

Please sign in to comment.