diff --git a/BookAStar/BookAStar/Behaviors/StarBehavior.cs b/BookAStar/BookAStar/Behaviors/StarBehavior.cs index 8ad6a9b0..1a5460f6 100644 --- a/BookAStar/BookAStar/Behaviors/StarBehavior.cs +++ b/BookAStar/BookAStar/Behaviors/StarBehavior.cs @@ -164,10 +164,8 @@ namespace BookAStar.Behaviors void OnTapRecognizerTapped(object sender, EventArgs args) { - // TODO HACK: PropertyChange does not fire, if the value is not changed :-( bool currentIsStarred = (bool) GetValue(IsStarredProperty); SetValue(IsStarredProperty, !currentIsStarred); - // does not lead to the call of: OnIsStarredChanged(this,currentIsStarred,!currentIsStarred); } }