Files @ 6a6817b17a06
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/ViewModels/AboutViewModel.cs

Jason Maltzen
Simulator view updates: new warning when the recipe is below minimum concentration. Add the missing reactions to the warning about missing reactions. Show the current saved recipe for a color, and allow replacing/saving the current simulated recipe as the recipe for that color.
using System.Reactive;
using ReactiveUI;

namespace DesertPaintCodex.ViewModels
{
    public class AboutViewModel : ViewModelBase
    {
        private const string AboutTextLiteral =
            @"Desert Paint Codex (formerly Desert Paint Lab) is an Open Source project available for free under the MIT License.";
        
        private string _aboutText = AboutTextLiteral;
        public string AboutText { get => _aboutText; private set => this.RaiseAndSetIfChanged(ref _aboutText, value); }

        public AboutViewModel()
        {
            CloseDialog = ReactiveCommand.Create(() => { });
        }
        
        public ReactiveCommand<Unit, Unit> CloseDialog { get; }
    }
}