mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Can update "public friend list" parameter
This commit is contained in:
parent
38c1474d2e
commit
cd355f84cc
@ -13,7 +13,7 @@ class GeneralSettings {
|
|||||||
bool allowComments;
|
bool allowComments;
|
||||||
bool allowPostsFromFriends;
|
bool allowPostsFromFriends;
|
||||||
bool allowComunicEmails;
|
bool allowComunicEmails;
|
||||||
final bool publicFriendsList;
|
bool publicFriendsList;
|
||||||
final String virtualDirectory;
|
final String virtualDirectory;
|
||||||
final String personalWebsite;
|
final String personalWebsite;
|
||||||
final String publicNote;
|
final String publicNote;
|
||||||
|
@ -178,6 +178,16 @@ class __GeneralAccountSettingsBodyState
|
|||||||
},
|
},
|
||||||
switchValue: _settings.allowPostsFromFriends,
|
switchValue: _settings.allowPostsFromFriends,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// Make friends list public
|
||||||
|
SettingsTile.switchTile(
|
||||||
|
title: tr("Make your friends list public"),
|
||||||
|
onToggle: (v) {
|
||||||
|
_settings.publicFriendsList = v;
|
||||||
|
_updateSettings();
|
||||||
|
},
|
||||||
|
switchValue: _settings.publicFriendsList,
|
||||||
|
),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user