parent
9e994a767e
commit
459ce93220
|
@ -23,7 +23,8 @@ function suggestionsContainerStyle(suggestionsCount) {
|
|||
marginHorizontal: 0,
|
||||
height: Math.min(150, (56 * suggestionsCount)),
|
||||
backgroundColor: "white",
|
||||
borderRadius: 5
|
||||
borderRadius: 5,
|
||||
flex: 1
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -89,6 +90,14 @@ function phoneSuggestions(params) {
|
|||
);
|
||||
});
|
||||
|
||||
/*var view = status.components.view(
|
||||
{style: {flex: 1, flexDirection: "column"}},
|
||||
[status.components.scrollView(
|
||||
suggestionsContainerStyle(ph.length),
|
||||
suggestions
|
||||
)]
|
||||
);*/
|
||||
|
||||
var view = status.components.scrollView(
|
||||
suggestionsContainerStyle(ph.length),
|
||||
suggestions
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
(def datemark-text
|
||||
{:color "#838c93"
|
||||
:top 4
|
||||
:font-size 12})
|
||||
:font-size 12})
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
(def message-datemark
|
||||
{:margin-top 10
|
||||
:margin-bottom -4})
|
||||
:height 34})
|
||||
|
||||
(def message-empty-spacing
|
||||
{:height 16})
|
||||
|
@ -249,9 +249,9 @@
|
|||
{:marginTop 20})
|
||||
|
||||
(def status-from
|
||||
{:marginTop 20
|
||||
:fontSize 18
|
||||
:color text1-color})
|
||||
{:marginTop 20
|
||||
:fontSize 18
|
||||
:color text1-color})
|
||||
|
||||
(def status-text
|
||||
{:marginTop 10
|
||||
|
|
|
@ -140,8 +140,7 @@
|
|||
:bounces false
|
||||
:on-navigation-state-change on-navigation-change}]))
|
||||
|
||||
(defview placeholder []
|
||||
[suggestions [:get-content-suggestions]]
|
||||
(defn placeholder []
|
||||
[view st/input-placeholder])
|
||||
|
||||
(defview response-suggestions-view []
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
(ns status-im.utils.utils
|
||||
(:require-macros
|
||||
[natal-shell.async-storage :refer [get-item set-item]])
|
||||
(:require [status-im.constants :as const]
|
||||
[reagent.core :as r]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue