From 06497cb37037b1e6ec73d2f84613bbdd719200d2 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Fri, 24 Nov 2023 13:07:12 +0530 Subject: [PATCH 1/2] [generated strings] --- lib/generated/intl/messages_zh.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/generated/intl/messages_zh.dart b/lib/generated/intl/messages_zh.dart index 674da416c..92bde6078 100644 --- a/lib/generated/intl/messages_zh.dart +++ b/lib/generated/intl/messages_zh.dart @@ -23,6 +23,9 @@ class MessageLookup extends MessageLookupByLibrary { static String m0(count) => "${Intl.plural(count, one: '添加一个项目', other: '添加一些项目')}"; + static String m64(storageAmount, endDate) => + "您的 ${storageAmount} 插件有效期至 ${endDate}"; + static String m1(emailOrName) => "由 ${emailOrName} 添加"; static String m2(albumName) => "成功添加到 ${albumName}"; @@ -203,6 +206,7 @@ class MessageLookup extends MessageLookupByLibrary { "addMore": MessageLookupByLibrary.simpleMessage("添加更多"), "addNew": MessageLookupByLibrary.simpleMessage("新建"), "addOnPageSubtitle": MessageLookupByLibrary.simpleMessage("附加组件详情"), + "addOnValidTill": m64, "addOns": MessageLookupByLibrary.simpleMessage("附加组件"), "addPhotos": MessageLookupByLibrary.simpleMessage("添加照片"), "addSelected": MessageLookupByLibrary.simpleMessage("添加所选项"), From 524c68b5930024b6b7d0ed1d97adcef71fed06aa Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:54:11 +0530 Subject: [PATCH 2/2] Fix: Add missing await --- lib/utils/crypto_util.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/crypto_util.dart b/lib/utils/crypto_util.dart index 3c6be311b..2005e7882 100644 --- a/lib/utils/crypto_util.dart +++ b/lib/utils/crypto_util.dart @@ -451,9 +451,9 @@ class CryptoUtil { Uint8List salt, int memLimit, int opsLimit, - ) { + ) async { try { - return _computer.compute( + return await _computer.compute( cryptoPwHash, param: { "password": password,