diff --git a/Flow.Launcher.Core/Configuration/Portable.cs b/Flow.Launcher.Core/Configuration/Portable.cs index 0e8e77007..cef8f046d 100644 --- a/Flow.Launcher.Core/Configuration/Portable.cs +++ b/Flow.Launcher.Core/Configuration/Portable.cs @@ -43,7 +43,7 @@ namespace Flow.Launcher.Core.Configuration PublicApi.Instance.ShowMsgBox(Localize.restartToDisablePortableMode()); - API.RestartApp(); + PublicApi.Instance.RestartApp(); } catch (Exception e) { @@ -66,7 +66,7 @@ namespace Flow.Launcher.Core.Configuration PublicApi.Instance.ShowMsgBox(Localize.restartToEnablePortableMode()); - API.RestartApp(); + PublicApi.Instance.RestartApp(); } catch (Exception e) {