Removed unused code. Minor code changes.

This commit is contained in:
Jeddunk 2021-01-19 20:37:13 +01:00
parent 1602937be3
commit 950844a14b
6 changed files with 27 additions and 61 deletions

View file

@ -11,6 +11,7 @@ using System.Threading.Tasks;
using System.Windows;
using GoldbergGUI.Core.Models;
using GoldbergGUI.Core.Services;
using GoldbergGUI.Core.Utils;
using Microsoft.Win32;
using MvvmCross.Commands;
using MvvmCross.Logging;
@ -251,9 +252,6 @@ namespace GoldbergGUI.Core.ViewModels
}
}
public string AboutVersionText =>
FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion;
public string StatusText
{
get => _statusText;
@ -264,23 +262,8 @@ namespace GoldbergGUI.Core.ViewModels
}
}
public class GlobalHelp
{
public static string Header =>
"Information\n";
public static string TextPreLink =>
"Usually these settings are saved under";
public static string Link => "%APPDATA%\\Goldberg SteamEmu Saves\\settings";
public static string TextPostLink =>
", which makes these " +
"available for every game that uses the Goldberg Emulator. However, if you want to set specific settings " +
"for certain games (e.g. different language), you can remove the \"Global\" checkmark next to the option " +
"and then change it. If you want to remove that setting, just empty the field while \"Global\" is " +
"unchecked. (Not implemented yet!)";
}
public static string AboutVersionText =>
FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion;
public static GlobalHelp G => new GlobalHelp();