Fix
This commit is contained in:
parent
afdaedbf36
commit
e1d16a4ae5
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ public class DownloadResourceGroupFragment extends DialogFragment implements Dow
|
|||
|
||||
@Override
|
||||
public void onGetItems() {
|
||||
if (restorePurchasesView != null && restorePurchasesView.getVisibility() == View.VISIBLE) {
|
||||
if (restorePurchasesView != null && restorePurchasesView.findViewById(R.id.container).getVisibility() == View.VISIBLE) {
|
||||
restorePurchasesView.findViewById(R.id.container).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ public class DownloadResourceGroupFragment extends DialogFragment implements Dow
|
|||
|
||||
@Override
|
||||
public void dismissProgress() {
|
||||
if (restorePurchasesView != null && restorePurchasesView.getVisibility() == View.VISIBLE) {
|
||||
if (restorePurchasesView != null && restorePurchasesView.findViewById(R.id.container).getVisibility() == View.VISIBLE) {
|
||||
restorePurchasesView.findViewById(R.id.progressBar).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue