Skip to content

Commit

Permalink
Remove default crash report recipient and related identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Nov 22, 2024
1 parent 94b7d66 commit f261f9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions lib/model/riverpod_states/settings_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import 'dart:ui';
import 'package:flutter/foundation.dart';

import '../../l10n/app_localizations.dart';
import '../../utils/identifiers.dart';
import '../version.dart';

/// This class contains all device specific settings. E.g., the language used, whether to show the guide on start, etc.
Expand All @@ -32,7 +31,7 @@ class SettingsState {
static bool get showGuideOnStartDefault => true;
static bool get hideOtpsDefault => false;
static bool get enablePollingDefault => false;
static Set<String> get crashReportRecipientsDefault => {defaultCrashReportRecipient};
static Set<String> get crashReportRecipientsDefault => {};
static Locale get localeDefault => AppLocalizations.supportedLocales
.firstWhere((locale) => locale.languageCode == (!kIsWeb ? Platform.localeName.substring(0, 2) : 'en'), orElse: () => const Locale('en'));

Expand Down
4 changes: 0 additions & 4 deletions lib/utils/identifiers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
limitations under the License.
*/

// default email address for crash reports

const defaultCrashReportRecipient = '[email protected]';

// otp auth
const OTP_AUTH_VERSION = 'v';
const OTP_AUTH_CREATOR = 'creator';
Expand Down

0 comments on commit f261f9d

Please sign in to comment.