mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-24 03:00:13 +08:00
opt: uuid
This commit is contained in:
@@ -6,7 +6,7 @@ import 'package:PiliPlus/grpc/url.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:fixnum/fixnum.dart';
|
||||
import 'package:protobuf/protobuf.dart' show PbMap;
|
||||
import 'package:uuid/uuid.dart';
|
||||
import 'package:uuid/v4.dart';
|
||||
|
||||
abstract final class ImGrpc {
|
||||
static Future<LoadingState<RspSendMsg>> sendMsg({
|
||||
@@ -28,7 +28,7 @@ abstract final class ImGrpc {
|
||||
msgStatus: 0,
|
||||
newFaceVersion: 1,
|
||||
),
|
||||
devId: const Uuid().v4(),
|
||||
devId: const UuidV4().generate(),
|
||||
),
|
||||
RspSendMsg.fromBuffer,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user