2
0

todo app fixes

This commit is contained in:
2026-01-17 15:06:30 +00:00
parent 26b39a403a
commit ca48355f8a
6 changed files with 97 additions and 33 deletions

View File

@@ -78,4 +78,15 @@ public class TodoItem : INotifyPropertyChanged
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
/// <summary>
/// Forces all bindings to re-evaluate by notifying all properties changed.
/// Used when external factors (like app theme) change.
/// </summary>
public void RefreshBindings()
{
OnPropertyChanged(nameof(IsCompleted));
OnPropertyChanged(nameof(Title));
OnPropertyChanged(nameof(Notes));
}
}