ui: update shots
Update the screenshots and feature graphic to reflect app changes.
This commit is contained in:
@@ -94,14 +94,13 @@ class HomeViewModel(application: Application) :
|
||||
}
|
||||
|
||||
/** Get the specific sort for the given [DisplayMode]. */
|
||||
fun getSortForDisplay(displayMode: DisplayMode): Sort {
|
||||
return when (displayMode) {
|
||||
fun getSortForDisplay(displayMode: DisplayMode) =
|
||||
when (displayMode) {
|
||||
DisplayMode.SHOW_SONGS -> settings.libSongSort
|
||||
DisplayMode.SHOW_ALBUMS -> settings.libAlbumSort
|
||||
DisplayMode.SHOW_ARTISTS -> settings.libArtistSort
|
||||
DisplayMode.SHOW_GENRES -> settings.libGenreSort
|
||||
}
|
||||
}
|
||||
|
||||
/** Update the currently displayed item's [Sort]. */
|
||||
fun updateCurrentSort(sort: Sort) {
|
||||
|
||||
@@ -40,7 +40,7 @@ import org.oxycblt.auxio.util.secsToMs
|
||||
|
||||
/**
|
||||
* A [HomeListFragment] for showing a list of [Album]s.
|
||||
* @author
|
||||
* @author OxygenCobalt
|
||||
*/
|
||||
class AlbumListFragment : HomeListFragment<Album>() {
|
||||
private val homeAdapter = AlbumAdapter(this)
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.oxycblt.auxio.util.formatDurationMs
|
||||
|
||||
/**
|
||||
* A [HomeListFragment] for showing a list of [Artist]s.
|
||||
* @author
|
||||
* @author OxygenCobalt
|
||||
*/
|
||||
class ArtistListFragment : HomeListFragment<Artist>() {
|
||||
private val homeAdapter = ArtistAdapter(this)
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.oxycblt.auxio.util.formatDurationMs
|
||||
|
||||
/**
|
||||
* A [HomeListFragment] for showing a list of [Genre]s.
|
||||
* @author
|
||||
* @author OxygenCobalt
|
||||
*/
|
||||
class GenreListFragment : HomeListFragment<Genre>() {
|
||||
private val homeAdapter = GenreAdapter(this)
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.oxycblt.auxio.util.secsToMs
|
||||
|
||||
/**
|
||||
* A [HomeListFragment] for showing a list of [Song]s.
|
||||
* @author
|
||||
* @author OxygenCobalt
|
||||
*/
|
||||
class SongListFragment : HomeListFragment<Song>() {
|
||||
private val homeAdapter = SongAdapter(this)
|
||||
|
||||
Reference in New Issue
Block a user