mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +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 firstName;
|
||||||
String lastName;
|
String lastName;
|
||||||
UserPageVisibility pageVisibility;
|
UserPageVisibility pageVisibility;
|
||||||
final bool allowComments;
|
bool allowComments;
|
||||||
final bool allowPostsFromFriends;
|
final bool allowPostsFromFriends;
|
||||||
bool allowComunicEmails;
|
bool allowComunicEmails;
|
||||||
final bool publicFriendsList;
|
final bool publicFriendsList;
|
||||||
|
@ -156,6 +156,16 @@ class __GeneralAccountSettingsBodyState
|
|||||||
_updateSettings();
|
_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