using Common.Library; using Gready_Poang.Services; namespace Gready_Poang.ViewModelLayer; public class MainPageViewModel : ViewModelBase { private readonly AppShellViewModel _appShell; private readonly IObjectMessageService _messageService; public MainPageViewModel( AppShellViewModel appShell, IObjectMessageService messageService ) : base() { _appShell = appShell; _messageService = messageService; } public void InitMessage() { if (_appShell.RoundRunningVisible == false) { _messageService.Delivered = true; } } }