diff --git a/JournalApp/Components/DataPointView.razor b/JournalApp/Components/DataPointView.razor index 8b5c431..53dbf64 100644 --- a/JournalApp/Components/DataPointView.razor +++ b/JournalApp/Components/DataPointView.razor @@ -26,14 +26,14 @@ else if (Point.Type == PointType.Sleep) {
@((Point.SleepHours ?? 0).ToString("00.0")) - + - +
} else if (Point.Type == PointType.Scale) { - + } else if (Point.Type == PointType.LowToHigh) { diff --git a/JournalApp/Components/EditCategoryDialog.razor b/JournalApp/Components/EditCategoryDialog.razor index f1404c0..d0fb8af 100644 --- a/JournalApp/Components/EditCategoryDialog.razor +++ b/JournalApp/Components/EditCategoryDialog.razor @@ -6,7 +6,7 @@
- + @(Category == null ? "New" : "Edit") @(Group == "Medications" ? "medication" : "category") @@ -14,10 +14,10 @@ @if (Category != null) { - + } - +
diff --git a/JournalApp/Components/EditDoseDialog.razor b/JournalApp/Components/EditDoseDialog.razor index 52393b6..0b328cb 100644 --- a/JournalApp/Components/EditDoseDialog.razor +++ b/JournalApp/Components/EditDoseDialog.razor @@ -6,13 +6,13 @@
- + Edit day's dose - +
diff --git a/JournalApp/Components/EditNoteDialog.razor b/JournalApp/Components/EditNoteDialog.razor index 4cd987b..36bef62 100644 --- a/JournalApp/Components/EditNoteDialog.razor +++ b/JournalApp/Components/EditNoteDialog.razor @@ -6,13 +6,13 @@
- + @Title - +
diff --git a/JournalApp/Pages/Calendar/CalendarPage.razor b/JournalApp/Pages/Calendar/CalendarPage.razor index e994727..58aaf59 100644 --- a/JournalApp/Pages/Calendar/CalendarPage.razor +++ b/JournalApp/Pages/Calendar/CalendarPage.razor @@ -9,13 +9,13 @@ @@ -103,15 +103,15 @@
@if (group.Key == null) { - Edit categories + Edit categories } else if (group.Key == "Medications") { - Edit medications + Edit medications } else if (group.Key == "Notes") { - New note + New note }
diff --git a/JournalApp/Pages/JaPage.razor.cs b/JournalApp/Pages/JaPage.razor.cs index 3bf9208..60493ef 100644 --- a/JournalApp/Pages/JaPage.razor.cs +++ b/JournalApp/Pages/JaPage.razor.cs @@ -107,7 +107,7 @@ public void ShowTeachingTip(string name, string text, bool oneTime = false) if (PreferenceService.Get($"tip_{name}", string.Empty) == "seen") return; - Snackbar.Add(text, Severity.Info, key: name); + Snackbar.Add(text, Severity.Info, c => c.Icon = Icons.Material.Rounded.Info, name); if (oneTime) PreferenceService.Set($"tip_{name}", "seen"); diff --git a/JournalApp/Pages/ManageCategoriesPage.razor b/JournalApp/Pages/ManageCategoriesPage.razor index eb465b5..980a3a8 100644 --- a/JournalApp/Pages/ManageCategoriesPage.razor +++ b/JournalApp/Pages/ManageCategoriesPage.razor @@ -7,13 +7,13 @@ @@ -27,7 +27,7 @@ @foreach (var c in Categories.OrderBy(c => c.Index)) {
- @c.Name + StartIcon="@Icons.Material.Rounded.Edit" Size="Size.Large" aria-label="Make changes">@c.Name
} } diff --git a/JournalApp/Pages/SafetyPlanning/SafetyPlanPage.razor b/JournalApp/Pages/SafetyPlanning/SafetyPlanPage.razor index 2792666..92dd770 100644 --- a/JournalApp/Pages/SafetyPlanning/SafetyPlanPage.razor +++ b/JournalApp/Pages/SafetyPlanning/SafetyPlanPage.razor @@ -7,7 +7,7 @@