From 37fc7e2cb4437153525ec95b3ca6f05cbab7d2a6 Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Sat, 8 Nov 2025 03:01:42 +0800 Subject: [PATCH] fix setting stack long press crash --- VoidLink/ViewControllers/SettingsViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VoidLink/ViewControllers/SettingsViewController.m b/VoidLink/ViewControllers/SettingsViewController.m index 376c405a..45032c85 100644 --- a/VoidLink/ViewControllers/SettingsViewController.m +++ b/VoidLink/ViewControllers/SettingsViewController.m @@ -974,7 +974,7 @@ BOOL isCustomResolution(int resolutionSelected) { view.clipsToBounds = YES; view.backgroundColor = [ThemeManager appPrimaryColorWithAlpha]; } completion:^(BOOL finished){ - completion(); + if(completion) completion(); }]; }