fix: bangumi mid

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-31 16:59:44 +08:00
parent e834311664
commit 3ccc7ef69d
15 changed files with 21 additions and 18 deletions

View File

@@ -65,7 +65,7 @@ class WhisperDetailController extends GetxController {
}
}
late final ownerMid = GStorage.userInfo.get('userInfoCache')?.mid;
late final ownerMid = Accounts.main.mid;
Future sendMsg({
required String message,
@@ -75,7 +75,7 @@ class WhisperDetailController extends GetxController {
int? index,
}) async {
feedBack();
if (ownerMid == null) {
if (ownerMid == 0) {
SmartDialog.dismiss();
SmartDialog.showToast('请先登录');
return;