mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: replace DownloadButton Image with Icon
This commit is contained in:
parent
464f787b24
commit
8ec8654d60
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ import androidx.compose.animation.core.FastOutSlowInEasing
|
|||
import androidx.compose.animation.core.tween
|
||||
import androidx.compose.animation.slideInHorizontally
|
||||
import androidx.compose.animation.slideOutHorizontally
|
||||
import androidx.compose.foundation.Image
|
||||
import androidx.compose.material.FloatingActionButton
|
||||
import androidx.compose.material.Icon
|
||||
import androidx.compose.material.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
|
|
@ -35,7 +35,7 @@ fun DownloadButton(
|
|||
onClick = onClick,
|
||||
backgroundColor = MaterialTheme.colors.primary,
|
||||
) {
|
||||
Image(
|
||||
Icon(
|
||||
painterResource(R.drawable.ic_twotone_download_24),
|
||||
stringResource(R.string.map_download_region),
|
||||
modifier = Modifier.scale(1.25f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue