mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 09:37:02 +08:00
@@ -29,7 +29,7 @@ class SpaceSettingController
|
||||
UserHttp.spaceSetting();
|
||||
|
||||
Future<void> onMod() async {
|
||||
if (hasMod == true && loadingState.value.isSuccess) {
|
||||
if ((hasMod ?? false) && loadingState.value.isSuccess) {
|
||||
Privacy? data = loadingState.value.data;
|
||||
if (data != null) {
|
||||
var res = await UserHttp.spaceSettingMod(
|
||||
|
||||
Reference in New Issue
Block a user