                                  })
                  )))))
 
-(defn detect-platform []
-  (let [w (.-innerWidth js/window)]
-    (condp > w
-      480 :phone
-      600 :tablet
-      :desktop)))
-
 (defn app-view [app owner]
   (reify
     om/IInitState

                          {:init-state
                           {:update-filters update-filters
                            :enqueue enqueue}})]
        (if (mobile? owner)
          (apply dom/div #js {:className "results tracks" }
                 (dom/div #js {:className "track"}
                          (dom/span {:id "queue-all-tracks"}

            button (dom/button #js {:onClick (fn [e] (put! enqueue @track))}
                               "+")]
        (apply dom/div #js {:className "track"}
               (if (mobile?)
                 [title artist album duration button]
                 [artist album title duration button]))))))

