Skip to content
Snippets Groups Projects
Verified Commit 83382617 authored by Torsten Grote's avatar Torsten Grote
Browse files

Add docs explaining what SidebarViewModel#blogResetView is for

parent d82d8c5e
No related branches found
No related tags found
1 merge request!357Blog navigation + Let unread FABs info depend on (unread) posts
...@@ -86,6 +86,12 @@ constructor( ...@@ -86,6 +86,12 @@ constructor(
val uiMode = _uiMode.asState() val uiMode = _uiMode.asState()
val account = _account.asState() val account = _account.asState()
/**
* A random number that changes everytime, the user changes the [UiMode] with [setUiMode] to [UiMode.BLOGS].
* This can be useful to reset the blog screen to the main blog feed instead of showing an individual blog.
* When we have a proper navigation system in place, it can hopefully replace this hack.
*/
val blogResetView = _blogResetView.asState() val blogResetView = _blogResetView.asState()
val mailboxProblem = _mailboxProblem.asState() val mailboxProblem = _mailboxProblem.asState()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment