Skip to content

Commit 999cf36

Browse files
committed
We must add check, that`s avoids endless expectation if the load will be scheduled on WiFi
1 parent 6d37c38 commit 999cf36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public void OnProgress(int completedPercent)
239239

240240
public void OnScheduled()
241241
{
242+
downloadLanguageTask.SetException(new Exception($"Speech Recognition pending download. Loading Scheduled WiFi "));
242243
}
243244

244245
public void OnSuccess()

0 commit comments

Comments
 (0)