Skip to content

Commit 2f8b87c

Browse files
committed
remove 'Async' suffix because method TryDownloadOfflineRecognizer33 synchronous
1 parent 1a38d01 commit 2f8b87c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CommunityToolkit.Maui.Core/Essentials/SpeechToText/OfflineSpeechToTextImplementation.android.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async Task InternalStartListening(SpeechToTextOptions options, CancellationToken
9898
}
9999
else if (OperatingSystem.IsAndroidVersionAtLeast(33))
100100
{
101-
await TryDownloadOfflineRecognizer33Async(recognizerIntent);
101+
TryDownloadOfflineRecognizer33(recognizerIntent);
102102
}
103103
}
104104

@@ -107,7 +107,7 @@ async Task InternalStartListening(SpeechToTextOptions options, CancellationToken
107107
}
108108

109109
[SupportedOSPlatform("Android33.0")]
110-
void TryDownloadOfflineRecognizer33Async(Intent recognizerIntent)
110+
void TryDownloadOfflineRecognizer33(Intent recognizerIntent)
111111
{
112112
speechRecognizer?.TriggerModelDownload(recognizerIntent);
113113
}

0 commit comments

Comments
 (0)