mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-19 16:45:20 +01:00
Add Android Navigation component
This commit is contained in:
parent
d0b1d0083d
commit
7365e44803
62 changed files with 662 additions and 570 deletions
|
@ -63,8 +63,7 @@ class RepositoryImpl(
|
|||
val genres =
|
||||
GenreLoader.getAllGenres(context)
|
||||
.shuffled()
|
||||
.take(10)
|
||||
.filter { it.name.length > 4 }
|
||||
.filter { it.name.length in 5..10 }
|
||||
|
||||
if (genres.isNotEmpty()) {
|
||||
return Home(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue