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 (merge
{:db (update db :keycard dissoc :application-info)} {:db (update db :keycard dissoc :application-info)}
(when keycard-multiaccount? {:navigate-to :keycard-login-pin})) (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 (rf/defn hide-keycard-banner
{:events [:hide-keycard-banner]} {:events [:hide-keycard-banner]}

View File

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

View File

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