fix: spinning text to speech icon in word card (#2102)
This commit is contained in:
parent
9cdba97a1c
commit
26638c824b
1 changed files with 3 additions and 3 deletions
|
|
@ -49,9 +49,9 @@ class TtsController extends ChangeNotifier {
|
|||
return PlatformInfos.isWindows;
|
||||
}
|
||||
|
||||
bool _hasLoadedTextToSpeech = false;
|
||||
bool get hasLoadedTextToSpeech => _hasLoadedTextToSpeech;
|
||||
set hasLoadedTextToSpeech(bool value) {
|
||||
bool? _hasLoadedTextToSpeech;
|
||||
bool? get hasLoadedTextToSpeech => _hasLoadedTextToSpeech;
|
||||
set hasLoadedTextToSpeech(bool? value) {
|
||||
if (_hasLoadedTextToSpeech != value) {
|
||||
_hasLoadedTextToSpeech = value;
|
||||
notifyListeners();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue