mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Use correct icon for passkey in Settings.
This commit is contained in:
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;
|
||||
|
||||
@@ -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 }};
|
||||
|
||||
Reference in New Issue
Block a user