removes useless comment
This commit is contained in:
parent
817aa39a98
commit
cd3fa69f73
1 changed files with 0 additions and 2 deletions
|
|
@ -164,10 +164,8 @@ namespace BookAStar.Behaviors
|
||||||
|
|
||||||
void OnTapRecognizerTapped(object sender, EventArgs args)
|
void OnTapRecognizerTapped(object sender, EventArgs args)
|
||||||
{
|
{
|
||||||
// TODO HACK: PropertyChange does not fire, if the value is not changed :-(
|
|
||||||
bool currentIsStarred = (bool) GetValue(IsStarredProperty);
|
bool currentIsStarred = (bool) GetValue(IsStarredProperty);
|
||||||
SetValue(IsStarredProperty, !currentIsStarred);
|
SetValue(IsStarredProperty, !currentIsStarred);
|
||||||
// does not lead to the call of:
|
|
||||||
OnIsStarredChanged(this,currentIsStarred,!currentIsStarred);
|
OnIsStarredChanged(this,currentIsStarred,!currentIsStarred);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue