Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar Desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar Desktop
Commits
83382617
Verified
Commit
83382617
authored
2 years ago
by
Torsten Grote
Browse files
Options
Downloads
Patches
Plain Diff
Add docs explaining what SidebarViewModel#blogResetView is for
parent
d82d8c5e
No related branches found
No related tags found
1 merge request
!357
Blog navigation + Let unread FABs info depend on (unread) posts
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/navigation/SidebarViewModel.kt
+6
-0
6 additions, 0 deletions
...briarproject/briar/desktop/navigation/SidebarViewModel.kt
with
6 additions
and
0 deletions
briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/navigation/SidebarViewModel.kt
+
6
−
0
View file @
83382617
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment