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
public void onPictureInPictureModeChanged (boolean isInPictureInPictureMode, Configuration newConfig) {
if (isInPictureInPictureMode) {
if (getVisibility() != View.GONE)
setVisibility(View.GONE);
if (kbd.getVisibility() != View.GONE)
kbd.setVisibility(View.GONE);
return;
} else {
if (getVisibility() != View.VISIBLE)
setVisibility(View.VISIBLE);
if (kbd.getVisibility() != View.VISIBLE)
kbd.setVisibility(View.VISIBLE);
return;
}
}