    :handler    nil})
 
 (def item-settings
-  {:title      (label :t/settings)
-   :icon       :settings
-   :icon-style {:width  20
-                :height 13}
-   :handler    #(dispatch [:show-group-chat-settings])})
+  {:title               (i18n/label :t/settings)
+   :icon                :settings
+   :icon-style          {:width  20
+                         :height 13}
+   :accessibility-label :settings
+   :handler             #(re-frame/dispatch [:show-group-chat-settings])})
 
 (defn group-chat-items [members public?]
   (into (if public? [] [(item-members members)])

   :handler    nil})

(defn item-user [chat-id]
  {:title       (label :t/profile)
   :custom-icon [menu-item-icon-profile]
   :icon        :menu_group
   :icon-style  {:width  25
                 :height 19}
   :handler     #(dispatch [:show-profile chat-id])})

(def item-search
  {:title      (label :t/search-chat)
   :subtitle   (label :t/not-implemented)
   :icon       :search_gray_copy
   :icon-style {:width  17
                :height 17}

   item-notifications])

(defn overlay [{:keys [on-click-outside]} items]
  [react/view styles/actions-overlay
   [react/touchable-highlight {:on-press on-click-outside
                               :style    styles/overlay-highlight}
    [react/view nil]]
   items])

(defn action-view [{:keys     [react/icon-style
                               icon
                               custom-icon
                               handler
                               title
                               subtitle
                               accessibility-label]
                    :or       {accessibility-label :action}}]
  [react/touchable-highlight {:on-press (fn []
                                          (re-frame/dispatch [:set-chat-ui-props {:show-actions? false}])
                                          (when handler
                                            (handler)))}
   [react/view {:accessibility-label accessibility-label
                :style styles/action-icon-row}
    [react/view styles/action-icon-view
     (or custom-icon
         [react/icon icon icon-style])]
    [react/view styles/action-view
     [react/text {:style           styles/action-title
                  :number-of-lines 1
                  :font            :medium}
      title]
     (when-let [subtitle subtitle]
       [react/text {:style           styles/action-subtitle
                    :number-of-lines 1
                    :font            :default}
        subtitle])]]])

(defview actions-list-view []
  (letsubs [group-chat        [:chat :group-chat]
            chat-id           [:chat :chat-id]
            public?           [:chat :public?]
            members           [:current-chat-contacts]
            status-bar-height (get-in platform/platform-specific [:component-styles :status-bar :default :height])]
    (when-let [actions (if group-chat
                         (group-chat-items members public?)
                         (user-chat-items chat-id))]
      [react/view (merge
                   (styles/actions-wrapper status-bar-height)
                   (get-in platform/platform-specific [:component-styles :actions-list-view]))
       [react/view styles/actions-separator]
       [react/view styles/actions-view
        (for [action actions]
          (if action
            ^{:key action} [action-view action]))]])))

(defn actions-view []
  [overlay {:on-click-outside #(re-frame/dispatch [:set-chat-ui-props {:show-actions? false}])}
   [actions-list-view]])
