fix: app locked screen accent color (#15854)

This commit is contained in:
Ajay Sivan 2023-05-11 05:31:41 -07:00 committed by GitHub
parent 87247af86b
commit d2840885dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -739,7 +739,8 @@
(merge
{:db (update db :keycard dissoc :application-info)}
(when keycard-multiaccount? {:navigate-to :keycard-login-pin}))
(open-login (select-keys multiaccount [:key-uid :name :public-key :images])))))
(open-login (select-keys multiaccount
[:key-uid :name :public-key :images :customization-color])))))
(rf/defn hide-keycard-banner
{:events [:hide-keycard-banner]}

View File

@ -228,7 +228,7 @@
[quo/button
{:size 40
:type :primary
:customization-color (or :primary customization-color)
:customization-color (or customization-color :primary)
:accessibility-label :login-button
:override-theme :dark
:before :i/unlocked

View File

@ -43,7 +43,8 @@
(rf/merge cofx
(multiaccounts.login/open-login (select-keys
multiaccount
[:key-uid :name :public-key :images]))
[:key-uid :name :public-key :images
:customization-color]))
(keychain/get-auth-method (:key-uid multiaccount))))
(navigation/init-root cofx :intro))))