Poängräkning fungerar i RoundRunning
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.Services;
|
||||
|
||||
namespace GreadyPoang.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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user