 (ns meo.ui.photos
   (:require [reagent.core :as r]
-            [meo.ui.shared :refer [view text touchable-highlight cam-roll scroll]]
+            [meo.ui.shared :refer [view text touchable-highlight cam-roll
+                                   scroll map-view mapbox-style-url image]]
             [re-frame.core :refer [reg-sub subscribe]]))
 
 (def defaults {:background-color "lightgreen"

      "get photos"]]]

   (for [photo (:edges (:photos @local))]
     [view {:style {:padding-top    10
                    :padding-bottom 10
                    :padding-left   10
                    :padding-right  10}}
      [text {:style {:color       "#777"
                     :text-align  "center"
                     :font-size   10
                     :font-weight "bold"}}
       (str photo)]])

   [text {:style {:color       "#777"
                  :text-align  "center"
                  :font-size   10
                  :font-weight "bold"}}
    (str (dissoc (:photos @local) :edges))]])
(defn photos-page [local put-fn]
  [scroll {:style {:flex-direction "column"
                   :padding-top    10
                   :padding-bottom 10}}

   [view {:style {:flex-direction "row"
                  :padding-top    10
