Use correct icon for passkey in Settings.

This commit is contained in:
John Preston
2025-12-02 19:05:42 +04:00
parent 2a8b491c95
commit 7840fd481a
8 changed files with 4 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 840 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -547,7 +547,7 @@ void SetupCloudPassword(
tr::lng_settings_cloud_password_start_title(),
std::move(label),
st::settingsButton,
{ &st::menuIconPermissions }
{ &st::menuIcon2SV }
)->addClickHandler([=, passwordState = base::duplicate(passwordState)] {
const auto state = rpl::variable<PasswordState>(
base::duplicate(passwordState)).current();
@@ -598,7 +598,7 @@ void SetupPasskeys(
tr::lng_settings_passkeys_title(),
std::move(label),
st::settingsButton,
{ &st::menuIconLock }
{ &st::menuIconPermissions }
)->addClickHandler([=] {
if (!session->passkeys().listKnown()) {
return;
+2
View File
@@ -43,6 +43,8 @@ menuIconAdmin: icon {{ "menu/admin", menuIconColor }};
menuIconRemove: icon {{ "menu/remove", menuIconColor }};
menuIconRetractVote: icon {{ "menu/retract_vote", menuIconColor }};
menuIconPermissions: icon {{ "menu/permissions", menuIconColor }};
menuIcon2SV: icon {{ "menu/2sv_on", menuIconColor }};
//menuIconOff2SV: icon {{ "menu/2sv_off", menuIconColor }};
menuIconShare: icon {{ "menu/share", menuIconColor }};
menuIconSharing: icon {{ "menu/share2", menuIconColor }};
menuIconArchive: icon {{ "menu/archive", menuIconColor }};