Med Popups och nytt system för släckning, men utan hantering av rätt popup
This commit is contained in:
@ -60,6 +60,7 @@ public partial class RoundRunningViewModel : ObservableObject
|
||||
private Collection<PlayerColumn> playerColumns;
|
||||
[ObservableProperty]
|
||||
private RoundBuilderElement builderObject;
|
||||
private string _activePopupId;
|
||||
|
||||
public bool PopupVisad { get; set; }
|
||||
|
||||
@ -195,8 +196,12 @@ public partial class RoundRunningViewModel : ObservableObject
|
||||
}
|
||||
}
|
||||
|
||||
private async void infoPopupViewModel_ClosePopupRequested(object? sender, EventArgs e)
|
||||
private async void infoPopupViewModel_ClosePopupRequested(object? sender, PopupCloseEventArgs e)
|
||||
{
|
||||
if (e.PopupId != _activePopupId)
|
||||
{
|
||||
return;
|
||||
}
|
||||
PopupVisad = true;
|
||||
await _popupService.ClosePopupAsync(Shell.Current);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user