mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-03-13 10:00:23 +01:00
Fix length
This commit is contained in:
parent
3e08735374
commit
67870efd67
@ -378,9 +378,10 @@ class NavigationActivity : AppCompatActivity() {
|
||||
return
|
||||
}
|
||||
val activeServerProvider: ActiveServerProvider by inject()
|
||||
chatMenuItem?.isVisible = activeServerProvider.getActiveServer().chatSupport != false
|
||||
bookmarksMenuItem?.isVisible = activeServerProvider.getActiveServer().bookmarkSupport != false
|
||||
sharesMenuItem?.isVisible = activeServerProvider.getActiveServer().shareSupport != false
|
||||
podcastsMenuItem?.isVisible = activeServerProvider.getActiveServer().podcastSupport != false
|
||||
val activeServer = activeServerProvider.getActiveServer()
|
||||
chatMenuItem?.isVisible = activeServer.chatSupport != false
|
||||
bookmarksMenuItem?.isVisible = activeServer.bookmarkSupport != false
|
||||
sharesMenuItem?.isVisible = activeServer.shareSupport != false
|
||||
podcastsMenuItem?.isVisible = activeServer.podcastSupport != false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user