mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 02:58:39 +00:00
fix: live dm
This commit is contained in:
@@ -574,7 +574,7 @@ class LiveRoomController extends GetxController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<void> onLike() async {
|
Future<void> onLike() async {
|
||||||
if (!isLogin) {
|
if (!Accounts.main.isLogin) {
|
||||||
likeClickTime.value = 0;
|
likeClickTime.value = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -593,7 +593,7 @@ class LiveRoomController extends GetxController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void onSendDanmaku([bool fromEmote = false]) {
|
void onSendDanmaku([bool fromEmote = false]) {
|
||||||
if (!isLogin) {
|
if (!Accounts.main.isLogin) {
|
||||||
SmartDialog.showToast('账号未登录');
|
SmartDialog.showToast('账号未登录');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user