Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: uncomment notifications page
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Jul 18, 2024
1 parent 810ca89 commit 8554fa8
Showing 1 changed file with 47 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,53 +289,53 @@ class NotificationsPage extends HookConsumerWidget {
notificationsState
.periodicalCallData!.expectedEpochOccurrenceEnabled,
),
// const SizedBox(height: Sizes.spaceXLarge),
// MXCSwitchRowItem(
// title: translate('activity_reminder'),
// value: notificationsState
// .periodicalCallData!.activityReminderEnabled,
// onChanged: notificationsPresenter.changeActivityReminderEnabled,
// enabled: isSettingsChangeEnabled,
// textTrailingWidget: MXCInformationButton(
// texts: getBlueberryRingServiceInfo(context),
// ),
// titleStyle: FontTheme.of(context).h6(),
// ),
// const SizedBox(height: Sizes.spaceXLarge),
// MXCSwitchRowItem(
// title: translate('sleep_insight'),
// value:
// notificationsState.periodicalCallData!.sleepInsightEnabled,
// onChanged: notificationsPresenter.changeSleepInsightEnabled,
// enabled: isSettingsChangeEnabled,
// textTrailingWidget: MXCInformationButton(
// texts: getBlueberryRingServiceInfo(context),
// ),
// titleStyle: FontTheme.of(context).h6(),
// ),
// const SizedBox(height: Sizes.spaceXLarge),
// MXCSwitchRowItem(
// title: translate('heart_alert'),
// value: notificationsState.periodicalCallData!.heartAlertEnabled,
// onChanged: notificationsPresenter.changeHeartAlertEnabled,
// enabled: isSettingsChangeEnabled,
// textTrailingWidget: MXCInformationButton(
// texts: getBlueberryRingServiceInfo(context),
// ),
// titleStyle: FontTheme.of(context).h6(),
// ),
// const SizedBox(height: Sizes.spaceXLarge),
// MXCSwitchRowItem(
// title: translate('low_battery'),
// value: notificationsState.periodicalCallData!.lowBatteryEnabled,
// onChanged: notificationsPresenter.changeLowBatteryEnabled,
// enabled: isSettingsChangeEnabled,
// textTrailingWidget: MXCInformationButton(
// texts: getBlueberryRingServiceInfo(context),
// ),
// titleStyle: FontTheme.of(context).h6(),
// ),
// const SizedBox(height: Sizes.spaceXLarge),
const SizedBox(height: Sizes.spaceXLarge),
MXCSwitchRowItem(
title: translate('activity_reminder'),
value: notificationsState
.periodicalCallData!.activityReminderEnabled,
onChanged: notificationsPresenter.changeActivityReminderEnabled,
enabled: isSettingsChangeEnabled,
textTrailingWidget: MXCInformationButton(
texts: getBlueberryRingServiceInfo(context),
),
titleStyle: FontTheme.of(context).h6(),
),
const SizedBox(height: Sizes.spaceXLarge),
MXCSwitchRowItem(
title: translate('sleep_insight'),
value:
notificationsState.periodicalCallData!.sleepInsightEnabled,
onChanged: notificationsPresenter.changeSleepInsightEnabled,
enabled: isSettingsChangeEnabled,
textTrailingWidget: MXCInformationButton(
texts: getBlueberryRingServiceInfo(context),
),
titleStyle: FontTheme.of(context).h6(),
),
const SizedBox(height: Sizes.spaceXLarge),
MXCSwitchRowItem(
title: translate('heart_alert'),
value: notificationsState.periodicalCallData!.heartAlertEnabled,
onChanged: notificationsPresenter.changeHeartAlertEnabled,
enabled: isSettingsChangeEnabled,
textTrailingWidget: MXCInformationButton(
texts: getBlueberryRingServiceInfo(context),
),
titleStyle: FontTheme.of(context).h6(),
),
const SizedBox(height: Sizes.spaceXLarge),
MXCSwitchRowItem(
title: translate('low_battery'),
value: notificationsState.periodicalCallData!.lowBatteryEnabled,
onChanged: notificationsPresenter.changeLowBatteryEnabled,
enabled: isSettingsChangeEnabled,
textTrailingWidget: MXCInformationButton(
texts: getBlueberryRingServiceInfo(context),
),
titleStyle: FontTheme.of(context).h6(),
),
const SizedBox(height: Sizes.spaceXLarge),
// const SizedBox(height: Sizes.spaceNormal),
// MXCSwitchRowItem(
// title: translate('daily_earnings'),
Expand Down

0 comments on commit 8554fa8

Please sign in to comment.