Skip to content

Commit

Permalink
Use own elmoji fork
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Dec 25, 2023
1 parent 96d4e4d commit ba0f73d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"direct": {
"ContaSystemer/elm-menu": "1.1.2",
"FabienHenon/elm-infinite-scroll": "3.0.3",
"Holmusk/elmoji": "1.0.4",
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
"billstclair/elm-port-funnel": "1.2.0",
"billstclair/elm-websocket-client": "4.1.0",
Expand All @@ -27,7 +26,8 @@
"lukewestby/elm-http-builder": "8.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"ryannhg/date-format": "2.3.0",
"sporto/qs": "2.0.0"
"sporto/qs": "2.0.0",
"vjousse/elm-emoji": "1.0.0"
},
"indirect": {
"Janiczek/cmd-extra": "1.1.0",
Expand Down
4 changes: 3 additions & 1 deletion src/Update/Draft.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Update.Draft exposing
, update
)

import Browser.Dom as Dom
import Command
import EmojiPicker exposing (PickerConfig)
import Json.Decode as Decode
Expand All @@ -12,6 +13,7 @@ import Mastodon.Helper
import Mastodon.Model exposing (..)
import Menu
import String.Extra
import Task
import Types exposing (..)
import Update.Error exposing (addErrorNotification)
import Util
Expand Down Expand Up @@ -132,7 +134,7 @@ update draftMsg currentUser ({ draft } as model) =
EmojiPicker.update subMsg subModel
in
( { model | draft = { draft | emojiModel = newSubModel } }
, Cmd.none
, Dom.focus "search-text" |> Task.attempt (\_ -> NoOp)
)

ToggleSpoiler enabled ->
Expand Down

0 comments on commit ba0f73d

Please sign in to comment.