Skip to content

Commit

Permalink
Avoid flicker when opening drawer
Browse files Browse the repository at this point in the history
Update Sitemaps in drawer when they are fetched. This avoids the flicker when the drawer is opened, because no update happens then (at least if there are no new Sitemaps on the server).

Signed-off-by: mueller-ma <[email protected]>
  • Loading branch information
mueller-ma committed Jun 27, 2024
1 parent 2379297 commit 548513a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ class MainActivity : AbstractBaseActivity(), ConnectionFactory.UpdateListener {
}
} else {
chooseSitemap()
updateSitemapDrawerEntries()
}
if (connection !is DemoConnection) {
prefs.edit {
Expand Down

0 comments on commit 548513a

Please sign in to comment.