update
This commit is contained in:
@@ -24,7 +24,7 @@ class UserSettingPrivacyPage extends StatelessWidget {
|
||||
return LinkActionItem(
|
||||
title: '允许通过搜索添加我为好友',
|
||||
trailing: Switch(
|
||||
value: _.userInfo.value.privacy,
|
||||
value: _.userInfo.value.privacy ?? true,
|
||||
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
||||
onChanged: (e) {
|
||||
_.togglePrivacy();
|
||||
|
||||
Reference in New Issue
Block a user