mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-03 01:00:14 +08:00
@@ -94,7 +94,7 @@ class WhisperLinkSettingController extends GetxController {
|
||||
? await ImGrpc.unpinSession(sessionId: sessionId)
|
||||
: await ImGrpc.pinSession(sessionId: sessionId);
|
||||
if (res.isSuccess) {
|
||||
isPinned.value = !isPinned.value;
|
||||
isPinned.toggle();
|
||||
} else {
|
||||
res.toast();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user