1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Fix appearance issue

This commit is contained in:
Pierre HUBERT 2021-04-17 08:40:33 +02:00
parent 4f72b59265
commit 5fd74f9047
7 changed files with 11 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class _AccountPrivacySettingsState extends State<AccountPrivacySettings> {
subtitle: tr(
"Permanently delete your account and all data related to it."),
onPressed: (_) => _deleteAccount(),
subtitleMaxLines: 2,
)
])
]),

View File

@ -42,12 +42,14 @@ class _AccountSecuritySettingsScreenState
subtitle: tr(
"Your security questions can be used to recover an access to your account when you loose your password..."),
onPressed: (_) => _changeSecurityQuestions(),
subtitleMaxLines: 3,
),
SettingsTile(
title: tr("Disconnect all your devices"),
subtitle: tr(
"Disconnect all your devices from Comunic, including the current one. Use this option if one of the device you use for Comunic was stolen."),
onPressed: (_) => _disconnectAllDevices(),
subtitleMaxLines: 6,
),
],
)

View File

@ -164,6 +164,7 @@ class __AccountSettingsBodyState extends State<_AccountSettingsBody> {
leading: Icon(f.icon),
subtitle: f.subtitle,
onPressed: (_) => _openSectionsAsNewRoute(f),
subtitleMaxLines: 3,
))
.toList(),
)

View File

@ -119,6 +119,8 @@ class _PreferencesSettingsTile extends SettingsTile {
subtitle: subtitle,
onToggle: _doChange,
switchValue: helper.getBool(preferencesKey),
titleMaxLines: 2,
subtitleMaxLines: 3,
);
}

View File

@ -112,6 +112,7 @@ class _GeneralAccountSettingsScreenState
_settings.allowComunicEmails = s;
_updateSettings();
},
titleMaxLines: 2,
switchValue: _settings.allowComunicEmails,
),
];
@ -154,6 +155,7 @@ class _GeneralAccountSettingsScreenState
_updateSettings();
},
switchValue: _settings.allowComments,
titleMaxLines: 2,
),
// Allow posts from friends

View File

@ -68,6 +68,8 @@ class _NotificationsSettingsScreenState
switchValue: _settings.allowConversations,
subtitle:
tr("Receive notifications for the conversations you follow."),
titleMaxLines: 2,
subtitleMaxLines: 2,
)
],
)

View File

@ -258,6 +258,7 @@ class _GroupSettingsScreenState extends SafeState<GroupSettingsScreen> {
_updateSettings();
},
switchValue: _groupSettings.isMembersListPublic,
titleMaxLines: 2,
)
],
);