SES-2233 Fix recovery password icon in settings

This commit is contained in:
Andrew 2024-06-26 20:53:57 +09:30
parent bae83d9ea6
commit a630b8af09
2 changed files with 1 additions and 19 deletions

View File

@ -431,7 +431,7 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() {
LargeItemButton(R.string.activity_settings_invite_button_title, R.drawable.ic_invite_friend, Modifier.contentDescription(R.string.AccessibilityId_invite_friend)) { sendInvitationToUseSession() } LargeItemButton(R.string.activity_settings_invite_button_title, R.drawable.ic_invite_friend, Modifier.contentDescription(R.string.AccessibilityId_invite_friend)) { sendInvitationToUseSession() }
Divider() Divider()
if (!prefs.getHidePassword()) { if (!prefs.getHidePassword()) {
LargeItemButton(R.string.sessionRecoveryPassword, R.drawable.ic_recovery_phrase, Modifier.contentDescription(R.string.AccessibilityId_recovery_password_menu_item)) { show<RecoveryPasswordActivity>() } LargeItemButton(R.string.sessionRecoveryPassword, R.drawable.ic_shield_outline, Modifier.contentDescription(R.string.AccessibilityId_recovery_password_menu_item)) { show<RecoveryPasswordActivity>() }
Divider() Divider()
} }
LargeItemButton(R.string.activity_settings_help_button, R.drawable.ic_help, Modifier.contentDescription(R.string.AccessibilityId_help)) { show<HelpSettingsActivity>() } LargeItemButton(R.string.activity_settings_help_button, R.drawable.ic_help, Modifier.contentDescription(R.string.AccessibilityId_help)) { show<HelpSettingsActivity>() }

View File

@ -1,18 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="28dp"
android:viewportWidth="24"
android:viewportHeight="28">
<path
android:pathData="M12.217,1.602C11.906,1.602 11.599,1.672 11.305,1.809C10.994,1.954 10.678,2.091 10.362,2.232C10.169,2.315 9.976,2.403 9.787,2.487L9.77,2.496L9.752,2.505L9.643,2.557L9.577,2.588L8.011,3.288C6.283,4.059 4.559,4.829 2.831,5.599C2.02,5.974 1.573,6.696 1.608,7.55C1.612,7.691 1.608,7.849 1.608,8.021C1.608,8.14 1.608,8.263 1.608,8.382V12.058C1.608,12.155 1.608,12.252 1.608,12.348C1.608,12.419 1.608,12.485 1.608,12.555C1.608,13.308 1.599,14.096 1.704,14.928C1.761,15.417 1.858,15.879 1.95,16.328C1.976,16.46 2.002,16.588 2.029,16.72L2.051,16.821L2.081,16.922L2.147,17.125C2.323,17.671 2.502,18.234 2.748,18.811C3.042,19.493 3.401,20.18 3.88,20.968L3.945,21.078L4.007,21.149C5.384,23.222 7.173,24.825 9.327,25.908H9.34L9.353,25.921C10.108,26.286 10.871,26.573 11.621,26.771C11.827,26.823 12.02,26.846 12.208,26.846C12.397,26.846 12.594,26.823 12.788,26.775H12.805L12.823,26.766C13.625,26.551 14.358,26.247 14.972,25.974L15.038,25.943L15.103,25.908C15.143,25.886 15.187,25.859 15.226,25.837C16.485,25.19 17.638,24.345 18.66,23.315C19.283,22.685 19.866,21.963 20.494,21.039L20.52,21.003L20.542,20.968C21.073,20.101 21.48,19.304 21.792,18.529C22.024,17.939 22.204,17.367 22.362,16.83L22.38,16.777L22.393,16.724C22.577,15.936 22.788,14.889 22.809,13.783C22.823,13.365 22.827,12.934 22.831,12.507V12.089L22.836,12.067V12.045C22.823,10.843 22.823,9.619 22.836,8.417C22.836,8.285 22.836,8.17 22.831,8.06C22.831,7.928 22.823,7.805 22.831,7.726C22.906,6.779 22.415,5.965 21.515,5.564C19.902,4.847 18.292,4.125 16.682,3.407L14.66,2.5L14.23,2.311C13.858,2.148 13.485,1.985 13.121,1.813C12.823,1.677 12.524,1.611 12.222,1.611L12.217,1.602ZM12.208,25.08C12.173,25.08 12.125,25.08 12.064,25.063C11.423,24.895 10.766,24.649 10.112,24.332C8.235,23.39 6.669,21.99 5.463,20.171L5.41,20.092L5.375,20.048C4.941,19.331 4.616,18.719 4.362,18.115C4.147,17.614 3.989,17.112 3.818,16.579L3.752,16.376C3.726,16.249 3.7,16.121 3.669,15.972C3.581,15.54 3.498,15.135 3.445,14.708C3.353,13.99 3.358,13.299 3.362,12.555C3.362,12.476 3.362,12.401 3.362,12.309C3.362,12.225 3.362,12.146 3.362,12.062V8.386C3.362,8.276 3.362,8.166 3.362,8.056C3.362,7.871 3.371,7.682 3.362,7.475C3.362,7.387 3.353,7.299 3.542,7.211C5.27,6.44 6.998,5.67 8.726,4.899L10.292,4.199L10.309,4.191L10.327,4.182L10.393,4.151L10.502,4.098C10.691,4.015 10.875,3.931 11.081,3.843C11.401,3.702 11.717,3.561 12.055,3.407C12.134,3.372 12.187,3.367 12.222,3.367C12.257,3.367 12.309,3.372 12.388,3.407C12.761,3.579 13.134,3.746 13.524,3.918L13.95,4.107L15.972,5.014C17.586,5.736 19.195,6.458 20.809,7.176C21.09,7.299 21.099,7.453 21.09,7.598C21.077,7.765 21.081,7.933 21.09,8.113C21.09,8.206 21.094,8.303 21.094,8.395C21.081,9.614 21.081,10.847 21.094,12.067V12.485C21.086,12.903 21.081,13.326 21.068,13.744C21.046,14.686 20.858,15.619 20.695,16.324C20.546,16.821 20.38,17.354 20.178,17.869C19.906,18.551 19.538,19.264 19.059,20.044C18.494,20.876 17.972,21.519 17.428,22.069C16.538,22.967 15.533,23.707 14.441,24.266L14.38,24.296L14.318,24.332C14.318,24.332 14.288,24.349 14.274,24.358C13.726,24.6 13.068,24.878 12.384,25.058C12.327,25.071 12.266,25.08 12.213,25.08H12.208Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M7.783,12.665C6.928,12.665 6.23,13.361 6.23,14.224C6.23,15.087 6.923,15.782 7.783,15.782C8.643,15.782 9.336,15.087 9.336,14.224C9.336,13.361 8.643,12.665 7.783,12.665Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M12.222,12.665C11.366,12.665 10.669,13.361 10.669,14.224C10.669,15.087 11.362,15.782 12.222,15.782C13.081,15.782 13.774,15.087 13.774,14.224C13.774,13.361 13.081,12.665 12.222,12.665Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M16.66,12.665C15.805,12.665 15.108,13.361 15.108,14.224C15.108,15.087 15.801,15.782 16.66,15.782C17.52,15.782 18.213,15.087 18.213,14.224C18.213,13.361 17.52,12.665 16.66,12.665Z"
android:fillColor="#ffffff"/>
</vector>