Fixed syntax error in view hiding

This commit is contained in:
KhatibFX 2023-04-07 22:28:43 +08:00
parent d3067e4162
commit 1182ca2609
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ public class InAppBrowserActivity extends AppCompatActivity implements InAppBrow
// Modified view removal to try and fix a crash
for (int i = 0; i < vg.getChildCount(); i++) {
View v = vg.getChildAt(i);
v.visibility = View.GONE;
v.setVisibility(View.GONE);
}
// instead of using
// vg.removeView(webView);