Bug fixea

This commit is contained in:
suhan_paradkar 2021-07-26 18:15:29 +05:30 committed by Wisest_wizard
parent 7037c7ea86
commit a1789fc3c1

View File

@ -124,12 +124,12 @@ public class MainActivity extends AppCompatActivity {
@Override @Override
public void onPictureInPictureModeChanged (boolean isInPictureInPictureMode, Configuration newConfig) { public void onPictureInPictureModeChanged (boolean isInPictureInPictureMode, Configuration newConfig) {
if (isInPictureInPictureMode) { if (isInPictureInPictureMode) {
if (getVisibility() != View.GONE) if (kbd.getVisibility() != View.GONE)
setVisibility(View.GONE); kbd.setVisibility(View.GONE);
return; return;
} else { } else {
if (getVisibility() != View.VISIBLE) if (kbd.getVisibility() != View.VISIBLE)
setVisibility(View.VISIBLE); kbd.setVisibility(View.VISIBLE);
return; return;
} }
} }