PIN : fix quality
This commit is contained in:
parent
a7c83a94d3
commit
ca6a30d6cc
49 changed files with 131 additions and 45 deletions
|
|
@ -40,7 +40,9 @@ class KeyStoreSecretKeyProvider @Inject constructor() : SecretKeyProvider {
|
|||
// False positive lint issue
|
||||
@SuppressLint("WrongConstant")
|
||||
override fun getOrCreateKey(alias: String): SecretKey {
|
||||
val keyStore = KeyStore.getInstance(ANDROID_KEYSTORE).also { it.load(null) }
|
||||
val keyStore = KeyStore.getInstance(ANDROID_KEYSTORE).apply {
|
||||
load(null)
|
||||
}
|
||||
val secretKeyEntry = (keyStore.getEntry(alias, null) as? KeyStore.SecretKeyEntry)
|
||||
?.secretKey
|
||||
return if (secretKeyEntry == null) {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
<string name="state_event_room_remove_by_you">"%1$s 已被您移除"</string>
|
||||
<string name="state_event_room_third_party_invite">"%1$s 邀請 %2$s 加入聊天室"</string>
|
||||
<string name="state_event_room_third_party_invite_by_you">"您邀請 %1$s 加入聊天室"</string>
|
||||
<string name="state_event_room_third_party_revoked_invite">"%1$s 撤銷了 %2$s 加入房間的邀請"</string>
|
||||
<string name="state_event_room_topic_changed">"%1$s 將主題變更為 %2$s"</string>
|
||||
<string name="state_event_room_topic_changed_by_you">"您將主題變更為 %1$s"</string>
|
||||
<string name="state_event_room_topic_removed">"聊天室主題已被 %1$s 移除"</string>
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@
|
|||
<string name="common_video">"Video"</string>
|
||||
<string name="common_voice_message">"Hlasová správa"</string>
|
||||
<string name="common_waiting">"Čaká sa…"</string>
|
||||
<string name="common_waiting_for_decryption_key">"Čaká sa na dešifrovací kľúč"</string>
|
||||
<string name="common_poll_end_confirmation">"Ste si istí, že chcete ukončiť túto anketu?"</string>
|
||||
<string name="common_poll_summary">"Anketa: %1$s"</string>
|
||||
<string name="dialog_title_confirmation">"Potvrdenie"</string>
|
||||
|
|
@ -273,6 +274,8 @@ Ak budete pokračovať, niektoré z vašich nastavení sa môžu zmeniť."</stri
|
|||
<string name="screen_recovery_key_confirm_key_placeholder">"Zadať…"</string>
|
||||
<string name="screen_recovery_key_confirm_success">"Kľúč na obnovu potvrdený"</string>
|
||||
<string name="screen_recovery_key_confirm_title">"Potvrďte kľúč na obnovenie"</string>
|
||||
<string name="screen_recovery_key_copied_to_clipboard">"Skopírovaný kľúč na obnovenie"</string>
|
||||
<string name="screen_recovery_key_generating_key">"Generovanie…"</string>
|
||||
<string name="screen_recovery_key_save_action">"Uložiť kľúč na obnovenie"</string>
|
||||
<string name="screen_recovery_key_save_description">"Zapíšte si kľúč na obnovenie na bezpečné miesto alebo ho uložte do správcu hesiel."</string>
|
||||
<string name="screen_recovery_key_save_key_description">"Ťuknutím skopírujte kľúč na obnovenie"</string>
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
<string name="action_edit">"Edit"</string>
|
||||
<string name="action_enable">"Enable"</string>
|
||||
<string name="action_end_poll">"End poll"</string>
|
||||
<string name="action_enter_pin">"Enter PIN"</string>
|
||||
<string name="action_forgot_password">"Forgot password?"</string>
|
||||
<string name="action_forward">"Forward"</string>
|
||||
<string name="action_invite">"Invite"</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue