diff --git a/Session/Meta/AppDelegate.m b/Session/Meta/AppDelegate.m index 413f90059..cc8ffc692 100644 --- a/Session/Meta/AppDelegate.m +++ b/Session/Meta/AppDelegate.m @@ -740,7 +740,6 @@ static NSTimeInterval launchStartedAt; - (LKAppMode)getCurrentAppMode { LKAppMode appMode = [self getAppModeOrSystemDefault]; - UIWindow *window = UIApplication.sharedApplication.keyWindow; return appMode; }