-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qbxdo minor fixes #1001
Qbxdo minor fixes #1001
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ class CaptureProvider extends ChangeNotifier | |
|
||
ServerMemory? get inProgressMemory => _inProgressMemory; | ||
|
||
bool _walFeatureEnabled = true; | ||
bool _walFeatureEnabled = false; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing the - bool _walFeatureEnabled = false;
+ bool _walFeatureEnabled = true; Please provide more context or reasoning behind this change in the PR description to help reviewers understand its impact. |
||
IWalService get _walService => ServiceManager.instance().wal; | ||
IDeviceService get _deviceService => ServiceManager.instance().device; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ class SpeechProfileProvider extends ChangeNotifier | |
bool loading = false; | ||
BtDevice? device; | ||
|
||
final targetWordsCount = 15; | ||
final targetWordsCount = 70; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The - final targetWordsCount = 15;
+ final targetWordsCount = 70; |
||
final maxDuration = 90; | ||
StreamSubscription<OnConnectionStateChangedEvent>? connectionStateListener; | ||
List<TranscriptSegment> segments = []; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Entelligence.AI
The null check added here is a good practice to prevent potential
NullPointer
exceptions. However, it's important to note that ifcaptureProvider.inProgressMemory
isnull
,_elapsedTime
will not be updated. If this is the expected behavior, then the change is fine. Otherwise, you might want to add some error handling or a default value for_elapsedTime
.Please ensure that this change aligns with your intended logic.