mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 12:10:33 +08:00
opt block
Closes #1074 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -441,7 +441,6 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
reSrc: 11,
|
||||
);
|
||||
if (res['status']) {
|
||||
Pref.removeBlackMid(mid);
|
||||
followStatus['attribute'] = 0;
|
||||
}
|
||||
return;
|
||||
|
||||
@@ -11,7 +11,6 @@ import 'package:PiliPlus/models_new/msg/im_user_infos/datum.dart';
|
||||
import 'package:PiliPlus/models_new/msg/msg_dnd/uid_setting.dart';
|
||||
import 'package:PiliPlus/models_new/msg/session_ss/data.dart';
|
||||
import 'package:PiliPlus/utils/accounts.dart';
|
||||
import 'package:PiliPlus/utils/storage_pref.dart';
|
||||
import 'package:fixnum/fixnum.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
@@ -129,7 +128,6 @@ class WhisperLinkSettingController extends GetxController {
|
||||
sessionSs
|
||||
..value.data.followStatus = null
|
||||
..refresh();
|
||||
Pref.removeBlackMid(talkerUid);
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
@@ -148,7 +146,6 @@ class WhisperLinkSettingController extends GetxController {
|
||||
sessionSs
|
||||
..value.data.followStatus = 128
|
||||
..refresh();
|
||||
Pref.setBlackMid(talkerUid);
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user