Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Feb 20, 2021
1 parent ffd3bef commit 5f48bf4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/domain/models/settings/app_settings.dart
Expand Up @@ -18,6 +18,7 @@ abstract class AppSettings implements _$AppSettings {
@required AppLanguageType appLanguage,
@required bool showCharacterDetails,
@required bool showWeaponDetails,
@required bool isFirstInstall,
}) = _AppSettings;
const AppSettings._();

Expand Down
1 change: 1 addition & 0 deletions lib/infrastructure/settings_service.dart
Expand Up @@ -61,6 +61,7 @@ class SettingsServiceImpl extends SettingsService {
appLanguage: language,
showCharacterDetails: showCharacterDetails,
showWeaponDetails: showWeaponDetails,
isFirstInstall: isFirstInstall,
);

SettingsServiceImpl(this._logger);
Expand Down
3 changes: 3 additions & 0 deletions lib/infrastructure/telemetry/telemetry_service.dart
Expand Up @@ -91,6 +91,9 @@ class TelemetryServiceImpl implements TelemetryService {
'Theme': EnumToString.convertToString(settings.appTheme),
'AccentColor': EnumToString.convertToString(settings.accentColor),
'Language': EnumToString.convertToString(settings.appLanguage),
'ShowCharacterDetails': settings.showCharacterDetails.toString(),
'ShowWeaponDetails': settings.showWeaponDetails.toString(),
'IsFirstInstall': settings.isFirstInstall.toString(),
});
}
}

0 comments on commit 5f48bf4

Please sign in to comment.