diff --git a/app/Wissance.Zerial/Wissance.Zerial.Desktop/ViewModels/SplashScreenViewModel.cs b/app/Wissance.Zerial/Wissance.Zerial.Desktop/ViewModels/SplashScreenViewModel.cs index 4510ad1..65d7c4b 100644 --- a/app/Wissance.Zerial/Wissance.Zerial.Desktop/ViewModels/SplashScreenViewModel.cs +++ b/app/Wissance.Zerial/Wissance.Zerial.Desktop/ViewModels/SplashScreenViewModel.cs @@ -14,7 +14,7 @@ public class SplashScreenViewModel : ViewModelBase public SplashScreenViewModel(SplashScreenWindow window, AppVersionModel model) { _window = window; - _model = model; + Model = model; SecondsToStart = DefaultWait; // TODO(UMV): ADD 1sec Timer TimerCallback tm = new TimerCallback(CountToStart); @@ -56,15 +56,15 @@ public string Years } } + public AppVersionModel Model { get; set; } public int SecondsToStart { get; set; } - - + private const int YearOfWorksStarted = 2023; private const int DefaultWait = 6; // this time start parallel to Window drawing private readonly Timer _timer; private readonly SplashScreenWindow _window; - private readonly AppVersionModel _model; + } } \ No newline at end of file diff --git a/app/Wissance.Zerial/Wissance.Zerial.Desktop/Views/SplashScreenWindow.axaml b/app/Wissance.Zerial/Wissance.Zerial.Desktop/Views/SplashScreenWindow.axaml index a0db235..d4bdedd 100644 --- a/app/Wissance.Zerial/Wissance.Zerial.Desktop/Views/SplashScreenWindow.axaml +++ b/app/Wissance.Zerial/Wissance.Zerial.Desktop/Views/SplashScreenWindow.axaml @@ -44,7 +44,7 @@ - +