mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Fix appearance issue
This commit is contained in:
parent
4f72b59265
commit
5fd74f9047
@ -53,6 +53,7 @@ class _AccountPrivacySettingsState extends State<AccountPrivacySettings> {
|
|||||||
subtitle: tr(
|
subtitle: 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,
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
|
@ -42,12 +42,14 @@ class _AccountSecuritySettingsScreenState
|
|||||||
subtitle: tr(
|
subtitle: tr(
|
||||||
"Your security questions can be used to recover an access to your account when you loose your password..."),
|
"Your security questions can be used to recover an access to your account when you loose your password..."),
|
||||||
onPressed: (_) => _changeSecurityQuestions(),
|
onPressed: (_) => _changeSecurityQuestions(),
|
||||||
|
subtitleMaxLines: 3,
|
||||||
),
|
),
|
||||||
SettingsTile(
|
SettingsTile(
|
||||||
title: tr("Disconnect all your devices"),
|
title: tr("Disconnect all your devices"),
|
||||||
subtitle: tr(
|
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."),
|
"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(),
|
onPressed: (_) => _disconnectAllDevices(),
|
||||||
|
subtitleMaxLines: 6,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -164,6 +164,7 @@ class __AccountSettingsBodyState extends State<_AccountSettingsBody> {
|
|||||||
leading: Icon(f.icon),
|
leading: Icon(f.icon),
|
||||||
subtitle: f.subtitle,
|
subtitle: f.subtitle,
|
||||||
onPressed: (_) => _openSectionsAsNewRoute(f),
|
onPressed: (_) => _openSectionsAsNewRoute(f),
|
||||||
|
subtitleMaxLines: 3,
|
||||||
))
|
))
|
||||||
.toList(),
|
.toList(),
|
||||||
)
|
)
|
||||||
|
@ -119,6 +119,8 @@ class _PreferencesSettingsTile extends SettingsTile {
|
|||||||
subtitle: subtitle,
|
subtitle: subtitle,
|
||||||
onToggle: _doChange,
|
onToggle: _doChange,
|
||||||
switchValue: helper.getBool(preferencesKey),
|
switchValue: helper.getBool(preferencesKey),
|
||||||
|
titleMaxLines: 2,
|
||||||
|
subtitleMaxLines: 3,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,6 +112,7 @@ class _GeneralAccountSettingsScreenState
|
|||||||
_settings.allowComunicEmails = s;
|
_settings.allowComunicEmails = s;
|
||||||
_updateSettings();
|
_updateSettings();
|
||||||
},
|
},
|
||||||
|
titleMaxLines: 2,
|
||||||
switchValue: _settings.allowComunicEmails,
|
switchValue: _settings.allowComunicEmails,
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
@ -154,6 +155,7 @@ class _GeneralAccountSettingsScreenState
|
|||||||
_updateSettings();
|
_updateSettings();
|
||||||
},
|
},
|
||||||
switchValue: _settings.allowComments,
|
switchValue: _settings.allowComments,
|
||||||
|
titleMaxLines: 2,
|
||||||
),
|
),
|
||||||
|
|
||||||
// Allow posts from friends
|
// Allow posts from friends
|
||||||
|
@ -68,6 +68,8 @@ class _NotificationsSettingsScreenState
|
|||||||
switchValue: _settings.allowConversations,
|
switchValue: _settings.allowConversations,
|
||||||
subtitle:
|
subtitle:
|
||||||
tr("Receive notifications for the conversations you follow."),
|
tr("Receive notifications for the conversations you follow."),
|
||||||
|
titleMaxLines: 2,
|
||||||
|
subtitleMaxLines: 2,
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -258,6 +258,7 @@ class _GroupSettingsScreenState extends SafeState<GroupSettingsScreen> {
|
|||||||
_updateSettings();
|
_updateSettings();
|
||||||
},
|
},
|
||||||
switchValue: _groupSettings.isMembersListPublic,
|
switchValue: _groupSettings.isMembersListPublic,
|
||||||
|
titleMaxLines: 2,
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user