Strange suggestion behaviour (#602)

This commit is contained in:
alwx 2017-01-02 19:26:28 +03:00
parent 6fd8ec26cb
commit 0985db819b
2 changed files with 3 additions and 8 deletions

View File

@ -1156,6 +1156,7 @@ function jsSuggestionsContainerStyle(suggestionsCount) {
return { return {
marginVertical: 1, marginVertical: 1,
marginHorizontal: 0, marginHorizontal: 0,
keyboardShouldPersistTaps: true,
//height: Math.min(150, (56 * suggestionsCount)), //height: Math.min(150, (56 * suggestionsCount)),
backgroundColor: "white", backgroundColor: "white",
borderRadius: 5, borderRadius: 5,
@ -1582,6 +1583,7 @@ function suggestionsContainerStyle(suggestionsCount) {
return { return {
marginVertical: 1, marginVertical: 1,
marginHorizontal: 0, marginHorizontal: 0,
keyboardShouldPersistTaps: true,
height: Math.min(150, (56 * suggestionsCount)), height: Math.min(150, (56 * suggestionsCount)),
backgroundColor: "white", backgroundColor: "white",
borderRadius: 5, borderRadius: 5,
@ -1697,10 +1699,6 @@ var faucets = [
{ {
name: "Status Testnet Faucet", name: "Status Testnet Faucet",
url: "http://46.101.129.137:3001", url: "http://46.101.129.137:3001",
},
{
name: "Zerogox Faucet",
url: "https://zerogox.com/ethereum/wei_faucet"
} }
]; ];

View File

@ -16,10 +16,7 @@
:api-url "http://faucet.ropsten.be:3001/donate/0x%s"} :api-url "http://faucet.ropsten.be:3001/donate/0x%s"}
{:name "http://46.101.129.137:3001" {:name "http://46.101.129.137:3001"
:type :api :type :api
:api-url "http://46.101.129.137:3001/donate/0x%s"} :api-url "http://46.101.129.137:3001/donate/0x%s"}])
{:name "https://zerogox.com/ethereum/wei_faucet"
:type :prefill
:prefill-js "document.getElementById('edit-ethereum-address').value='%s';"}])
(defn faucet-by-name [faucet-name] (defn faucet-by-name [faucet-name]
(->> faucets (->> faucets