mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-19 23:54:01 +08:00
@@ -55,8 +55,8 @@ class WhisperLinkSettingController extends GetxController {
|
||||
|
||||
Future<void> getIsPinned() async {
|
||||
final res = await ImGrpc.sessionUpdate(sessionId: sessionId);
|
||||
if (res.isSuccess) {
|
||||
isPinned.value = res.data.session.isPinned;
|
||||
if (res case Success(:final response)) {
|
||||
isPinned.value = response.session.isPinned;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user