diff --git a/lib/views/settings_view/settings_view.dart b/lib/views/settings_view/settings_view.dart index ce196ca6b..b5d44b3bc 100644 --- a/lib/views/settings_view/settings_view.dart +++ b/lib/views/settings_view/settings_view.dart @@ -3,7 +3,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../../l10n/app_localizations.dart'; -import '../../model/states/settings_state.dart'; import '../../model/tokens/push_token.dart'; import '../../utils/riverpod_providers.dart'; import '../license_view/license_view.dart'; @@ -182,27 +181,27 @@ class SettingsView extends ConsumerWidget { onChanged: (value) => ref.read(settingsProvider.notifier).setPolling(value), ), ), - if (ref.watch(tokenProvider).hasHOTPTokens) - ListTile( - title: RichText( - text: TextSpan( - children: [ - TextSpan( - text: AppLocalizations.of(context)!.hidePushTokens, - style: Theme.of(context).textTheme.titleMedium, - ), - ], - ), - ), - subtitle: Text( - AppLocalizations.of(context)!.hidePushTokensDescription, - overflow: TextOverflow.fade, - ), - trailing: Switch( - value: ref.watch(settingsProvider).hidePushTokensState != HidePushTokens.notHidden, - onChanged: (value) => ref.read(settingsProvider.notifier).setHidePushTokens(isHidden: value), - ), - ) + // if (ref.watch(tokenProvider).hasHOTPTokens) + // ListTile( + // title: RichText( + // text: TextSpan( + // children: [ + // TextSpan( + // text: AppLocalizations.of(context)!.hidePushTokens, + // style: Theme.of(context).textTheme.titleMedium, + // ), + // ], + // ), + // ), + // subtitle: Text( + // AppLocalizations.of(context)!.hidePushTokensDescription, + // overflow: TextOverflow.fade, + // ), + // trailing: Switch( + // value: ref.watch(settingsProvider).hidePushTokensState != HidePushTokens.notHidden, + // onChanged: (value) => ref.read(settingsProvider.notifier).setHidePushTokens(isHidden: value), + // ), + // ) ], ), ), diff --git a/pubspec.yaml b/pubspec.yaml index 6c333dc5d..4c68b43f5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -14,7 +14,7 @@ publish_to: none # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 4.2.1+402101 # TODO Set the right version number +version: 4.2.1+402102 # TODO Set the right version number # version: major.minor.build + 2x major|2x minor|3x build # version: version number + build number (optional) # android: build-name + versionCode