mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 06:19:22 +00:00
Fix theming issue
This commit is contained in:
parent
76a27dd1df
commit
79458759c6
@ -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,8 +51,10 @@ 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
|
||||||
"Permanently delete your account and all data related to it."),
|
? null
|
||||||
|
: tr(
|
||||||
|
"Permanently delete your account and all data related to it."),
|
||||||
onPressed: (_) => _deleteAccount(),
|
onPressed: (_) => _deleteAccount(),
|
||||||
subtitleMaxLines: 2,
|
subtitleMaxLines: 2,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user