 
 
 (defn modal [{:keys [stream media-error show-about? result-gif cells win-state
-                     grid-size tick-ms gif-building?] :as app}]
+                     grid-size tick-ms gif-building? camera-waiting?] :as app}]
   (let [winner?    (and cells (= cells win-state))
         no-stream? (not stream)]
     (dom/div



(defn get-camera! []
  (take!
    (media/get-media)
    (fn [{:keys [status data]}]

            (if (= media-error :denied)
              (:cam-denied strings)
              (:cam-failed strings))
            (apply dom/button
              (if camera-waiting?
                [#js {:className "wait"} "hold on"]
                [#js {:onClick get-camera!} "try again"]))
            (dom/button #js {:onClick #(js/open source-url)} "view cellf source"))

        no-stream?
