Skip to content

Commit 7373e98

Browse files
committed
remove reference to uninitialized var
1 parent 452c838 commit 7373e98

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

firebase_ai_logic_showcase/lib/demos/live_api/live_api_demo.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ class _LiveAPIDemoState extends ConsumerState<LiveAPIDemo> {
183183
try {
184184
await _audioInput.init(); // Initialize Audio Input
185185
await _audioOutput.init(); // Initialize Audio Output
186-
187-
setState(() {
188-
_audioIsInitialized = true;
189-
});
190186
} catch (e) {
191187
log("Error during audio initialization: $e");
192188
if (!mounted) return;

0 commit comments

Comments
 (0)