mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +00:00
Update comments on user page switch
This commit is contained in:
parent
cf0708cd3b
commit
9e5decae61
@ -10,7 +10,7 @@ class GeneralSettings {
|
||||
String firstName;
|
||||
String lastName;
|
||||
UserPageVisibility pageVisibility;
|
||||
final bool allowComments;
|
||||
bool allowComments;
|
||||
final bool allowPostsFromFriends;
|
||||
bool allowComunicEmails;
|
||||
final bool publicFriendsList;
|
||||
|
@ -156,6 +156,16 @@ class __GeneralAccountSettingsBodyState
|
||||
_updateSettings();
|
||||
},
|
||||
),
|
||||
|
||||
// Allow comments on user page ?
|
||||
SettingsTile.switchTile(
|
||||
title: tr("Allow comments on your page"),
|
||||
onToggle: (v) {
|
||||
_settings.allowComments = v;
|
||||
_updateSettings();
|
||||
},
|
||||
switchValue: _settings.allowComments,
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user