mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 02:35:54 +00:00
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
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
(def message-datemark
|
||||
{:margin-top 10
|
||||
:margin-bottom -4})
|
||||
:height 34})
|
||||
|
||||
(def message-empty-spacing
|
||||
{:height 16})
|
||||
|
@ -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…
x
Reference in New Issue
Block a user