1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 12:58:51 +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/settings/header_spacer_section.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/ui_utils.dart';
import 'package:flutter/cupertino.dart';
@ -50,8 +51,10 @@ class _AccountPrivacySettingsState extends State<AccountPrivacySettings> {
SettingsSection(title: tr("Danger zone"), tiles: [
SettingsTile(
title: tr("Delete your account"),
subtitle: tr(
"Permanently delete your account and all data related to it."),
subtitle: isIOS
? null
: tr(
"Permanently delete your account and all data related to it."),
onPressed: (_) => _deleteAccount(),
subtitleMaxLines: 2,
)