Skip to content

Commit

Permalink
Fdhzb codebase clean up 866 (#927)
Browse files Browse the repository at this point in the history
Issue: #866 


<!-- This is an auto-generated comment: release notes by OSS
Entelligence.AI -->
### Summary by Entelligence.AI

- Refactor: Streamlined the codebase by removing deprecated and unused
classes, functions, and widgets related to device connectivity, location
services, audio recording, Bluetooth management, and transcripts.
- Refactor: Updated import paths for various services and models across
the application for better organization and readability.
- Refactor: Adjusted function signatures and method calls in several
providers and services, enhancing code maintainability.
- Refactor: Improved code formatting and structure in multiple files,
enhancing readability and consistency.
- Chore: Removed unused imports and redundant code snippets from various
parts of the application.
<!-- end of auto-generated comment: release notes by OSS Entelligence.AI
-->
  • Loading branch information
beastoin authored Sep 26, 2024
2 parents 1b4fd1e + ef31239 commit 84fee9c
Show file tree
Hide file tree
Showing 36 changed files with 464 additions and 2,365 deletions.
6 changes: 3 additions & 3 deletions app/lib/backend/schema/bt_device.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:friend_private/services/device_connections.dart';
import 'package:friend_private/services/frame_connection.dart';
import 'package:friend_private/utils/ble/gatt_utils.dart';
import 'package:friend_private/services/devices/device_connection.dart';
import 'package:friend_private/services/devices/frame_connection.dart';
import 'package:friend_private/services/devices/models.dart';

enum BleAudioCodec {
pcm16,
Expand Down
4 changes: 2 additions & 2 deletions app/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'dart:async';

import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -29,7 +28,7 @@ import 'package:friend_private/providers/message_provider.dart';
import 'package:friend_private/providers/onboarding_provider.dart';
import 'package:friend_private/providers/plugin_provider.dart';
import 'package:friend_private/providers/speech_profile_provider.dart';
import 'package:friend_private/services/notification_service.dart';
import 'package:friend_private/services/notifications.dart';
import 'package:friend_private/services/services.dart';
import 'package:friend_private/utils/analytics/gleap.dart';
import 'package:friend_private/utils/analytics/growthbook.dart';
Expand Down Expand Up @@ -141,6 +140,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
NotificationUtil.initializeNotificationsEventListeners();
NotificationUtil.initializeIsolateReceivePort();
WidgetsBinding.instance.addObserver(this);

super.initState();
}

Expand Down
18 changes: 0 additions & 18 deletions app/lib/pages/capture/_page.dart

This file was deleted.

36 changes: 0 additions & 36 deletions app/lib/pages/capture/location_service.dart

This file was deleted.

69 changes: 0 additions & 69 deletions app/lib/pages/capture/logic/_mic_background_service.dart

This file was deleted.

Loading

0 comments on commit 84fee9c

Please sign in to comment.