1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 06:19:22 +00:00

Fix theming issue

This commit is contained in:
Pierre HUBERT 2021-04-27 11:56:00 +02:00
parent 76a27dd1df
commit 79458759c6

View File

@ -8,6 +8,7 @@ import 'package:comunic/ui/dialogs/multi_choices_dialog.dart';
import 'package:comunic/ui/widgets/async_screen_widget.dart'; import 'package:comunic/ui/widgets/async_screen_widget.dart';
import 'package:comunic/ui/widgets/settings/header_spacer_section.dart'; import 'package:comunic/ui/widgets/settings/header_spacer_section.dart';
import 'package:comunic/ui/widgets/settings/multi_choices_settings_tile.dart'; import 'package:comunic/ui/widgets/settings/multi_choices_settings_tile.dart';
import 'package:comunic/utils/flutter_utils.dart';
import 'package:comunic/utils/intl_utils.dart'; import 'package:comunic/utils/intl_utils.dart';
import 'package:comunic/utils/ui_utils.dart'; import 'package:comunic/utils/ui_utils.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
@ -50,7 +51,9 @@ class _AccountPrivacySettingsState extends State<AccountPrivacySettings> {
SettingsSection(title: tr("Danger zone"), tiles: [ SettingsSection(title: tr("Danger zone"), tiles: [
SettingsTile( SettingsTile(
title: tr("Delete your account"), title: tr("Delete your account"),
subtitle: tr( subtitle: isIOS
? null
: tr(
"Permanently delete your account and all data related to it."), "Permanently delete your account and all data related to it."),
onPressed: (_) => _deleteAccount(), onPressed: (_) => _deleteAccount(),
subtitleMaxLines: 2, subtitleMaxLines: 2,