Move class to Fluent.Helpers
RENAME
WalletWasabi/Helpers/StartupHelper.cs
WalletWasabi.Fluent/Helpers/StartupHelper.cs
@@ -5,7 +5,7 @@ using System.Reflection;
using System.Runtime.InteropServices;
using WalletWasabi.Logging;
-namespace WalletWasabi.Helpers
+namespace WalletWasabi.Fluent.Helpers
{
public static class StartupHelper
{
@@ -18,7 +18,7 @@ namespace WalletWasabi.Helpers
{
string pathToExeFile = Assembly.GetExecutingAssembly().Location;
pathToExeFile = pathToExeFile.Remove(pathToExeFile.Length - 4); // This part has to change if this gets released
- pathToExeFile += ".Fluent.Desktop.exe";
+ pathToExeFile += ".Desktop.exe";
return TryModifyRegistry(runOnSystemStartup, pathToExeFile);
}

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/GeneralSettingsTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/GeneralSettingsTabViewModel.cs
@@ -59,13 +59,13 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
.Skip(1)
.Subscribe(async x =>
{
- if (WalletWasabi.Helpers.StartupHelper.TryModifyStartupSetting(x))
+ if (StartupHelper.TryModifyStartupSetting(x))
{
Services.UiConfig.RunOnSystemStartup = x;
}
else
{
- await ShowErrorAsync(Title, WalletWasabi.Helpers.StartupHelper.StartupErrorMessage, "Something went wrong.");
+ await ShowErrorAsync(Title, StartupHelper.StartupErrorMessage, "Something went wrong.");
}
});

Move class to Fluent.Helpers