Skip to content

Commit

Permalink
New version release 0.6.28
Browse files Browse the repository at this point in the history
  • Loading branch information
fast4x committed Mar 29, 2024
1 parent f311209 commit 58a7f94
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ import it.vfsfitvnm.vimusic.utils.rememberPreference
import it.vfsfitvnm.vimusic.utils.secondary
import it.vfsfitvnm.vimusic.utils.semiBold
import it.vfsfitvnm.vimusic.utils.showFoldersOnDeviceKey
import it.vfsfitvnm.vimusic.utils.showSearchTabKey
import it.vfsfitvnm.vimusic.utils.songSortOrderKey
import it.vfsfitvnm.vimusic.utils.thumbnail
import it.vfsfitvnm.vimusic.utils.thumbnailRoundnessKey
Expand Down Expand Up @@ -332,6 +333,8 @@ fun DeviceListSongs(
mutableStateOf(-1)
}

val showSearchTab by rememberPreference(showSearchTabKey, false)

val navigationBarPosition by rememberPreference(navigationBarPositionKey, NavigationBarPosition.Left)
val contentWidth = context.preferences.getFloat(contentWidthKey,0.8f)

Expand Down Expand Up @@ -359,7 +362,7 @@ fun DeviceListSongs(
title = stringResource(R.string.on_device),
iconId = R.drawable.search,
enabled = true,
showIcon = true,
showIcon = !showSearchTab,
modifier = Modifier,
onClick = onSearchClick
)
Expand Down

0 comments on commit 58a7f94

Please sign in to comment.