on master help sign in
Added back button
commit305ea93e3aebd261a4d5dfe62d900f5864a3b218 authoriko <ilyakooo0@gmail.com> dateSat 30 Jul 2022, 09:06 (4 years ago) parent7bbd761
1 file changed+2−2
frontend/Main.elm+2−2
frontend/Main.elm+2−2
@@ -11,7 +11,7 @@ import Pages.Ciphers as Ciphers
1111import Pages.Loader exposing (loader)
1212import Pages.Login as Login
1313import Pages.MasterPassword as MasterPassword
14−import Pages.Navigation as Navigation
14+import Pages.Navigation as Navigation exposing (TopButton(..))
1515import Utils exposing (..)
1616
1717
@@ -115,7 +115,7 @@ showPage page =
115115 in
116116 { title = p.title model
117117 , body = p.view model
118− , topButton = Nothing
118+ , topButton = Just (BackButton PopView)
119119 }
120120
121121