mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-23 02:51:26 -07:00
26 lines
901 B
C#
26 lines
901 B
C#
namespace Bloxstrap.UI.ViewModels.Settings
|
|
{
|
|
public class BehaviourViewModel : NotifyPropertyChangedViewModel
|
|
{
|
|
public bool ConfirmLaunches
|
|
{
|
|
get => App.Settings.Prop.ConfirmLaunches;
|
|
set => App.Settings.Prop.ConfirmLaunches = value;
|
|
}
|
|
|
|
public bool ForceRobloxLanguage
|
|
{
|
|
get => App.Settings.Prop.ForceRobloxLanguage;
|
|
set => App.Settings.Prop.ForceRobloxLanguage = value;
|
|
}
|
|
|
|
public bool ForceRobloxReinstallation
|
|
{
|
|
// wouldnt it be better to check old version guids?
|
|
// what about fresh installs?
|
|
get => App.State.Prop.ForceReinstall || (String.IsNullOrEmpty(App.RobloxState.Prop.Player.VersionGuid) && String.IsNullOrEmpty(App.RobloxState.Prop.Studio.VersionGuid));
|
|
set => App.State.Prop.ForceReinstall = value;
|
|
}
|
|
}
|
|
}
|