private void OnMarkAs(bool passed) { if (RecentCards != null && RecentCards.Any()) { var currentItem = RecentCards.First(); currentItem.RecallOk = passed; currentItem.Refresh(); } }
private void OnMarkFlip() { if (RecentCards != null && RecentCards.Any()) { var currentItem = RecentCards.First(); if (currentItem.RecallOk.HasValue) { var old = currentItem.RecallOk.Value; currentItem.RecallOk = !old; } else { currentItem.RecallOk = true; } currentItem.Refresh(); } }