File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616#include < fmt/format.h>
1717#include < fmt/printf.h>
1818#include < shlobj_core.h>
19+ #pragma comment(lib, "shell32.lib")
1920
2021#if defined(_M_IX86) || defined(_M_X64)
2122#define SUPPORTS_SENTRY
@@ -1913,9 +1914,9 @@ namespace winrt::CelestiaWinUI::implementation
19131914 auto stored = localSettings.Values ().TryLookup (L" FeatureFlags" );
19141915 if (stored)
19151916 {
1916- auto featureFlags = unbox_value<hstring>(stored);
1917+ auto storedFeatureFlags = unbox_value<hstring>(stored);
19171918 auto featureFlagsFile = co_await sentryDatabaseFolder.CreateFileAsync (L" feature-flags.txt" , CreationCollisionOption::ReplaceExisting);
1918- co_await FileIO::WriteTextAsync (featureFlagsFile, featureFlags );
1919+ co_await FileIO::WriteTextAsync (featureFlagsFile, storedFeatureFlags );
19191920 }
19201921 }
19211922 catch (hresult_error const &) {}
You can’t perform that action at this time.
0 commit comments