add assetslinks.json

This commit is contained in:
lingdocs 2022-09-13 11:23:07 +04:00
parent ba071220c4
commit b149aa1e99
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,11 @@
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.lingdocs.pashto.dictionary",
"sha256_cert_fingerprints":
["53:8E:B9:CD:42:CD:3B:48:D9:08:BE:6C:A3:92:35:5D:50:DD:A5:A8:0B:93:DB:B4:AC:75:BB:BC:52:B3:E4:BD"]
}
}
]

View File

@ -64,6 +64,7 @@ const SearchBar = ({ state, optionsDispatch, handleSearchValueChange, onBottom }
handleSearchValueChange(e.target.value);
}}
onBlur={e => {
// don't loose focus/cursor if clicking on a word/star etc.
if (e.relatedTarget === null) {
e.target.focus();
}
@ -88,7 +89,7 @@ const SearchBar = ({ state, optionsDispatch, handleSearchValueChange, onBottom }
handleSearchValueChange("");
// keep the focus on the input after pressing the X
inputRef.current && inputRef.current.focus();
}: () => null}
} : undefined}
data-testid="clearButton"
>
<i className="fa fa-times" style={!state.searchValue ? { visibility: "hidden" } : {}}></i>