Skip to content

Commit

Permalink
Qbxdo minor fixes (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Oct 8, 2024
2 parents 3f22b86 + aafed17 commit 8fadcf9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions app/lib/pages/memory_capturing/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ class _MemoryCapturingPageState extends State<MemoryCapturingPage> with TickerPr
WidgetsBinding.instance.addPostFrameCallback((_) {
final captureProvider = context.read<CaptureProvider>();
if (captureProvider.segments.isNotEmpty) {
setState(() {
_elapsedTime = convertDateTimeToSeconds(captureProvider.inProgressMemory!.createdAt);
});
if (captureProvider.inProgressMemory != null) {
setState(() {
_elapsedTime = convertDateTimeToSeconds(captureProvider.inProgressMemory!.createdAt);
});
}
_startTimer();
}
});
Expand Down
2 changes: 1 addition & 1 deletion app/lib/providers/capture_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CaptureProvider extends ChangeNotifier

ServerMemory? get inProgressMemory => _inProgressMemory;

bool _walFeatureEnabled = true;
bool _walFeatureEnabled = false;
IWalService get _walService => ServiceManager.instance().wal;
IDeviceService get _deviceService => ServiceManager.instance().device;

Expand Down
2 changes: 1 addition & 1 deletion app/lib/providers/speech_profile_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SpeechProfileProvider extends ChangeNotifier
bool loading = false;
BtDevice? device;

final targetWordsCount = 15;
final targetWordsCount = 70;
final maxDuration = 90;
StreamSubscription<OnConnectionStateChangedEvent>? connectionStateListener;
List<TranscriptSegment> segments = [];
Expand Down

0 comments on commit 8fadcf9

Please sign in to comment.