mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-23 10:20:14 +08:00
Use lazy
This commit is contained in:
parent
0f89665ea3
commit
84667a0a1b
@ -45,7 +45,7 @@ abstract class DeviceInfo(
|
||||
|
||||
abstract val apn: ByteArray
|
||||
|
||||
val guid: ByteArray get() = generateGuid(androidId, macAddress)
|
||||
val guid: ByteArray by lazy { generateGuid(androidId, macAddress) }
|
||||
|
||||
fun generateDeviceInfoData(): ByteArray {
|
||||
@Serializable
|
||||
|
Loading…
Reference in New Issue
Block a user