add assetslinks.json
This commit is contained in:
parent
ba071220c4
commit
b149aa1e99
|
@ -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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -64,6 +64,7 @@ const SearchBar = ({ state, optionsDispatch, handleSearchValueChange, onBottom }
|
||||||
handleSearchValueChange(e.target.value);
|
handleSearchValueChange(e.target.value);
|
||||||
}}
|
}}
|
||||||
onBlur={e => {
|
onBlur={e => {
|
||||||
|
// don't loose focus/cursor if clicking on a word/star etc.
|
||||||
if (e.relatedTarget === null) {
|
if (e.relatedTarget === null) {
|
||||||
e.target.focus();
|
e.target.focus();
|
||||||
}
|
}
|
||||||
|
@ -88,7 +89,7 @@ const SearchBar = ({ state, optionsDispatch, handleSearchValueChange, onBottom }
|
||||||
handleSearchValueChange("");
|
handleSearchValueChange("");
|
||||||
// keep the focus on the input after pressing the X
|
// keep the focus on the input after pressing the X
|
||||||
inputRef.current && inputRef.current.focus();
|
inputRef.current && inputRef.current.focus();
|
||||||
}: () => null}
|
} : undefined}
|
||||||
data-testid="clearButton"
|
data-testid="clearButton"
|
||||||
>
|
>
|
||||||
<i className="fa fa-times" style={!state.searchValue ? { visibility: "hidden" } : {}}></i>
|
<i className="fa fa-times" style={!state.searchValue ? { visibility: "hidden" } : {}}></i>
|
||||||
|
|
Loading…
Reference in New Issue