···411411translateAlienError : Alien.Event -> String -> Msg
412412translateAlienError event err =
413413 case Alien.tagFromString event.tag of
414414+ Just Alien.AuthAnonymous ->
415415+ report Alien.AuthAnonymous "I couldn't decrypt your data, maybe you used the wrong passphrase?"
416416+414417 Just Alien.AuthIpfs ->
415418 report Alien.AuthIpfs "Something went wrong regarding the IPFS storage. Maybe you used the wrong passphrase, or your IPFS node is offline?"
416419
+1-1
src/Applications/UI.elm
···833833834834loadingAnimation : Html msg
835835loadingAnimation =
836836- Html.map never UI.Svg.Elements.loading
836836+ Html.map never (Html.fromUnstyled UI.Svg.Elements.loading)
837837838838839839overlay : Maybe (ContextMenu Msg) -> Html Msg
···6262 , text "PS. You're storing the data for this application "
6363 , case UI.Authentication.extractMethod model.authentication of
6464 Just Ipfs ->
6565- inline
6666- []
6767- [ text "on IPFS."
6868- , lineBreak
6969- , text "If you want to, you can "
7070- , UI.Kit.textButton
7171- { label = "change your passphrase"
7272- , onClick =
7373- Ipfs
7474- |> UI.Authentication.ShowUpdateEncryptionKeyScreen
7575- |> UI.Core.AuthenticationMsg
7676- }
7777- , text "."
7878- ]
6565+ text "on IPFS."
79668067 Just Local ->
8168 text "in this browser."
82698370 Nothing ->
8471 text "on nothing, wtf?"
7272+ , lineBreak
7373+ , text "If you want to, you can "
7474+ , UI.Kit.textButton
7575+ { label = "change your passphrase"
7676+ , onClick =
7777+ Ipfs
7878+ |> UI.Authentication.ShowUpdateEncryptionKeyScreen
7979+ |> UI.Core.AuthenticationMsg
8080+ }
8181+ , text "."
8582 ]
8683 |> raw
8784 |> UI.Kit.intro