CommunityToolkit.Maui v14.2.0
New Popup Extension
public static bool IsDestinationPageACommunityToolkitPopupPage(this NavigatingFromEventArgs args);You can now use NavigatingFromEventArgs to determine if the previous page was a Popup: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/popup#lifecycle-behavior
protected override void OnNavigatingFrom(NavigatingFromEventArgs args)
{
base.OnNavigatingFrom(args);
if (args.IsDestinationPageACommunityToolkitPopupPage())
{
// If true, `OnNavigatingFrom` was called by starting a Popup
}
}SpeechToText Bug Fix
- Fix AutoStopSilenceTimeout for SpeechToTextOptions doesn't work on iOS
StatusBar Bug Fix
- Fix
StatusBar.SetColor()when usingStatusBarBehavior - Update StatusBar Size On Device Orientation Change
What's Changed
- Added OnNavigatingFrom extension for popup related navigation by @dartasen in #3099
- Remove
RestartTimer()fromAvAudioNodeCallback by @TheCodeTraveler in #3196 - FIX: [BUG] Using StatusBarBehavior Breaks StatusBar.SetColor() #3197 API36 by @Pastajello in #3202
- Add compile-time property initializer for default values in BindableProperty source generator by @matt-goldman in #3204
- Update StatusBar Size On Device Orientation Change by @TheCodeTraveler in #3208
Housekeeping
- Explicitly target iOS and macOS to osx and Windows platforms (only) by @matt-goldman in #3186
- Bump Microsoft.Testing.Extensions.CodeCoverage from 18.5.2 to 18.6.2 by @dependabot[bot] in #3193
- Bump System.Formats.Asn1 from 10.0.6 to 10.0.7 by @dependabot[bot] in #3209
- Bump Microsoft.Extensions.Http.Resilience from 10.4.0 to 10.5.0 by @dependabot[bot] in #3199
- Bump System.Formats.Asn1 from 10.0.5 to 10.0.6 by @dependabot[bot] in #3201
- Bump Microsoft.Extensions.Logging.Debug from 10.0.5 to 10.0.6 by @dependabot[bot] in #3200
New Contributors
Full Changelog: 14.1.0...14.1.1