.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,104 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
https://reccloud.com/u/nq75s16
<toolkit:Popup
x:Class="FireChat.Views.PopUps.LoadingPopUp"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
CanBeDismissedByTappingOutsideOfPopup="False">
<VerticalStackLayout>
<ActivityIndicator IsRunning="True" />
<Label Text="Loading..." />
</VerticalStackLayout>
</toolkit:Popup>
for some reason it dosent navigate
async Task Login() {
await Shell.Current.CurrentPage.ShowPopupAsync(loadingPopUp);
await firebaseAuth.SignInWithEmailAndPasswordAsync(LocalUser.Email, LocalUser.Password);
loadingPopUp.Close();
await Shell.Current.GoToAsync($"//{nameof(ChatPage)}");
}
It was working fine until I added that
I just wanted to provide feedback
I put a breakpoint, and it dosent hit
await firebaseAuth.SignInWithEmailAndPasswordAsync(LocalUser.Email, LocalUser.Password);
loadingPopUp.Close();
await Shell.Current.GoToAsync($"//{nameof(ChatPage)}");
but hits the show popUp