mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
iOS crash fix
This commit is contained in:
@@ -140,7 +140,10 @@ void AmneziaApplication::init()
|
|||||||
m_settingsController->importBackupFromOutside(filePath);
|
m_settingsController->importBackupFromOutside(filePath);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
QTimer::singleShot(0, this, [this](){
|
||||||
AmneziaVPN::toggleScreenshots(m_settings->isScreenshotsEnabled());
|
AmneziaVPN::toggleScreenshots(m_settings->isScreenshotsEnabled());
|
||||||
|
});
|
||||||
|
|
||||||
connect(m_settings.get(), &Settings::screenshotsEnabledChanged, [](bool enabled) {
|
connect(m_settings.get(), &Settings::screenshotsEnabledChanged, [](bool enabled) {
|
||||||
AmneziaVPN::toggleScreenshots(enabled);
|
AmneziaVPN::toggleScreenshots(enabled);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user