Fix #76: Update current view when using timeline option.
This commit is contained in:
parent
1596085617
commit
e77dca0692
@ -740,7 +740,11 @@ update msg model =
|
||||
[]
|
||||
|
||||
UseGlobalTimeline flag ->
|
||||
{ model | useGlobalTimeline = flag } ! []
|
||||
let
|
||||
newModel =
|
||||
{ model | useGlobalTimeline = flag }
|
||||
in
|
||||
{ model | currentView = preferredTimeline newModel } ! []
|
||||
|
||||
ClearOpenedAccount ->
|
||||
{ model | currentView = preferredTimeline model } ! []
|
||||
|
Loading…
Reference in New Issue
Block a user