@@ -47,6 +47,7 @@ private async Task SaveCategories()
4747 }
4848
4949 await AppShell . DisplayToastAsync ( "Categories saved" ) ;
50+ await AnnouncementHelper . Announce ( "Categories saved" ) ;
5051 }
5152
5253 [ RelayCommand ]
@@ -55,6 +56,7 @@ private async Task DeleteCategory(Category category)
5556 Categories . Remove ( category ) ;
5657 await _categoryRepository . DeleteItemAsync ( category ) ;
5758 await AppShell . DisplayToastAsync ( "Category deleted" ) ;
59+ await AnnouncementHelper . Announce ( "Category deleted" ) ;
5860 }
5961
6062 [ RelayCommand ]
@@ -64,6 +66,7 @@ private async Task AddCategory()
6466 Categories . Add ( category ) ;
6567 await _categoryRepository . SaveItemAsync ( category ) ;
6668 await AppShell . DisplayToastAsync ( "Category added" ) ;
69+ await AnnouncementHelper . Announce ( "Category added" ) ;
6770 }
6871
6972 [ RelayCommand ]
@@ -75,6 +78,7 @@ private async Task SaveTags()
7578 }
7679
7780 await AppShell . DisplayToastAsync ( "Tags saved" ) ;
81+ await AnnouncementHelper . Announce ( "Tags saved" ) ;
7882 }
7983
8084 [ RelayCommand ]
@@ -83,6 +87,7 @@ private async Task DeleteTag(Tag tag)
8387 Tags . Remove ( tag ) ;
8488 await _tagRepository . DeleteItemAsync ( tag ) ;
8589 await AppShell . DisplayToastAsync ( "Tag deleted" ) ;
90+ await AnnouncementHelper . Announce ( "Tags deleted" ) ;
8691 }
8792
8893 [ RelayCommand ]
@@ -92,6 +97,7 @@ private async Task AddTag()
9297 Tags . Add ( tag ) ;
9398 await _tagRepository . SaveItemAsync ( tag ) ;
9499 await AppShell . DisplayToastAsync ( "Tag added" ) ;
100+ await AnnouncementHelper . Announce ( "Tags added" ) ;
95101 }
96102
97103 [ RelayCommand ]
0 commit comments