1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-11-23 02:45:34 +01:00

fix: missing qr code scan in Dialogs

This commit is contained in:
luvletter2333 2023-01-21 18:09:59 +08:00
parent 5aa483a795
commit 7ef3a53a2f
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -2538,6 +2538,11 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter.
updatePasscodeButton();
updateProxyButton(false, false);
}
scanItem = menu.addItem(nekox_scanqr, R.drawable.wallet_qr);
scanItem.setContentDescription(LocaleController.getString("ScanQRCode", R.string.ScanQRCode));
scanItem.setVisibility(View.GONE);
searchItem = menu.addItem(0, R.drawable.ic_ab_search).setIsSearchField(true, false).setActionBarMenuItemSearchListener(new ActionBarMenuItem.ActionBarMenuItemSearchListener() {
boolean isSpeedItemCreated = false;