Close PiP when a passcode lock is enabled.

This commit is contained in:
John Preston
2023-02-15 10:47:10 +04:00
parent 91e6c42fcf
commit 7557a20679
3 changed files with 9 additions and 2 deletions

View File

@@ -194,7 +194,6 @@ void MainWindow::setupPasscodeLock() {
_passcodeLock.create(bodyWidget(), &controller());
updateControlsGeometry();
Core::App().hideMediaView();
ui_hideSettingsAndLayer(anim::type::instant);
if (_main) {
_main->hide();