mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-24 04:40:56 +03: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