Update: Replace Material icons with Phosphor in ReleaseItem

This commit is contained in:
machiav3lli 2022-10-04 03:10:41 +02:00
parent ea93dd9e57
commit 17b7d153bf

View File

@ -18,8 +18,6 @@ import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.Download
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.MaterialTheme
@ -43,6 +41,8 @@ import com.machiav3lli.fdroid.RELEASE_STATE_NONE
import com.machiav3lli.fdroid.RELEASE_STATE_SUGGESTED
import com.machiav3lli.fdroid.database.entity.Release
import com.machiav3lli.fdroid.database.entity.Repository
import com.machiav3lli.fdroid.ui.compose.icons.Phosphor
import com.machiav3lli.fdroid.ui.compose.icons.phosphor.Download
import com.machiav3lli.fdroid.utility.extension.android.Android
import com.machiav3lli.fdroid.utility.extension.text.formatSize
import java.time.Instant
@ -153,7 +153,7 @@ fun ReleaseItemContent(
}
IconButton(onClick = { onDownloadClick(release) }) {
Icon(
imageVector = Icons.Rounded.Download,
imageVector = Phosphor.Download,
contentDescription = stringResource(id = R.string.install)
)
}