iOS crash fix
This commit is contained in:
parent
59a7265bac
commit
bca68fc185
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue