mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 11:41:09 +08:00
upgrade protobuf
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -36,7 +36,7 @@ class WhisperSettingsController
|
||||
Future<LoadingState<GetImSettingsReply>> customGetData() =>
|
||||
ImGrpc.getImSettings(type: imSettingType);
|
||||
|
||||
Future<bool> onSet(PbMap<int, Setting> settings) async {
|
||||
Future<bool> onSet(Map<int, Setting> settings) async {
|
||||
final res = await ImGrpc.setImSettings(settings: settings);
|
||||
if (!res.isSuccess) {
|
||||
res.toast();
|
||||
|
||||
Reference in New Issue
Block a user