#nullable enable
using Windows.ApplicationModel.Core;

namespace Hohoema.Views.StateTrigger;

public sealed class IsShowWithPrimaryViewTrigger : InvertibleStateTrigger
{
    public IsShowWithPrimaryViewTrigger()
    {
        var coreApplication = CoreApplication.GetCurrentView();
        SetActiveInvertible(coreApplication.IsMain);
    }
}
