Skip to content

Commit 26638c8

Browse files
authored
fix: spinning text to speech icon in word card (#2102)
1 parent 9cdba97 commit 26638c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pangea/toolbar/controllers/tts_controller.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ class TtsController extends ChangeNotifier {
4949
return PlatformInfos.isWindows;
5050
}
5151

52-
bool _hasLoadedTextToSpeech = false;
53-
bool get hasLoadedTextToSpeech => _hasLoadedTextToSpeech;
54-
set hasLoadedTextToSpeech(bool value) {
52+
bool? _hasLoadedTextToSpeech;
53+
bool? get hasLoadedTextToSpeech => _hasLoadedTextToSpeech;
54+
set hasLoadedTextToSpeech(bool? value) {
5555
if (_hasLoadedTextToSpeech != value) {
5656
_hasLoadedTextToSpeech = value;
5757
notifyListeners();

0 commit comments

Comments
 (0)