Fixed syntax error in view hiding
This commit is contained in:
parent
d3067e4162
commit
1182ca2609
|
@ -544,7 +544,7 @@ public class InAppBrowserActivity extends AppCompatActivity implements InAppBrow
|
||||||
// Modified view removal to try and fix a crash
|
// Modified view removal to try and fix a crash
|
||||||
for (int i = 0; i < vg.getChildCount(); i++) {
|
for (int i = 0; i < vg.getChildCount(); i++) {
|
||||||
View v = vg.getChildAt(i);
|
View v = vg.getChildAt(i);
|
||||||
v.visibility = View.GONE;
|
v.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
// instead of using
|
// instead of using
|
||||||
// vg.removeView(webView);
|
// vg.removeView(webView);
|
||||||
|
|
Loading…
Reference in New Issue