From 859f8348f0dc5cf049295edc3b8afb905612511d Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Tue, 16 Jul 2024 09:47:42 +1000 Subject: [PATCH] Added character counter and alert for new statuses --- Classes/NavigatorService.cs | 1 + Components/NewStatusDialog.razor | 20 ++++++++++++++++---- XamlComponents/App.xaml.cs | 3 ++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Classes/NavigatorService.cs b/Classes/NavigatorService.cs index 3099c22..16a2ed1 100644 --- a/Classes/NavigatorService.cs +++ b/Classes/NavigatorService.cs @@ -3,5 +3,6 @@ namespace Neighbourhood.omg.lol { public class NavigatorService { internal NavigationManager? NavigationManager { get; set; } + internal Page? Page { get; set; } } } diff --git a/Components/NewStatusDialog.razor b/Components/NewStatusDialog.razor index 0a6c5a0..ebcc4a8 100644 --- a/Components/NewStatusDialog.razor +++ b/Components/NewStatusDialog.razor @@ -2,6 +2,7 @@ @inject State State @inject RestService api @inject NavigationManager navigationManager +@inject NavigatorService navigatorService
@@ -27,7 +28,8 @@
- +