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);
|
||||
});
|
||||
|
||||
AmneziaVPN::toggleScreenshots(m_settings->isScreenshotsEnabled());
|
||||
QTimer::singleShot(0, this, [this](){
|
||||
AmneziaVPN::toggleScreenshots(m_settings->isScreenshotsEnabled());
|
||||
});
|
||||
|
||||
connect(m_settings.get(), &Settings::screenshotsEnabledChanged, [](bool enabled) {
|
||||
AmneziaVPN::toggleScreenshots(enabled);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue