Skip to content

Commit

Permalink
refactor: update bugsee private callback names
Browse files Browse the repository at this point in the history
  • Loading branch information
koukibadr committed Nov 18, 2024
1 parent 7e3e5f1 commit 7bcaeba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/lib/business/bugsee/bugsee_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ final class _BugseeManager implements BugseeManager {
BugseeConfigurationData bugseeConfigurationData =
await bugseeRepository.getBugseeConfiguration();

launchOptions = initializeLaunchOptions();
launchOptions = _initializeLaunchOptions();
_isBugSeeInitialized = false;

if (kDebugMode) {
Expand All @@ -120,15 +120,15 @@ final class _BugseeManager implements BugseeManager {
}

if (bugseeConfigurationData.isBugseeEnabled ?? true) {
await launchBugseeLogger(bugseeToken);
await _launchBugseeLogger(bugseeToken);
}

isBugseeEnabled = _isBugSeeInitialized;
isVideoCaptureEnabled = _isBugSeeInitialized &&
(bugseeConfigurationData.isVideoCaptureEnabled ?? true);
}

Future launchBugseeLogger(String bugseeToken) async {
Future _launchBugseeLogger(String bugseeToken) async {
HttpOverrides.global = Bugsee.defaultHttpOverrides;
await Bugsee.launch(
bugseeToken,
Expand All @@ -144,7 +144,7 @@ final class _BugseeManager implements BugseeManager {
);
}

BugseeLaunchOptions? initializeLaunchOptions() {
BugseeLaunchOptions? _initializeLaunchOptions() {
if (Platform.isAndroid) {
return AndroidLaunchOptions();
} else if (Platform.isIOS) {
Expand Down

0 comments on commit 7bcaeba

Please sign in to comment.