Skip to content

Commit 88b3e8f

Browse files
committed
Minor rename
1 parent a1dbdd7 commit 88b3e8f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

feature/results/src/main/java/com/android/developers/androidify/customize/watchface/InstallAndroidifyPanel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ fun InstallAndroidifyPanel(
101101
} else {
102102
installColors
103103
},
104-
isSending = isPlayLaunched,
104+
isInProgress = isPlayLaunched,
105105
)
106106
}
107107
}

feature/results/src/main/java/com/android/developers/androidify/customize/watchface/TransferringWatchFacePanel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fun TransferringWatchFacePanel(
6464
WatchFacePanelButton(
6565
modifier = Modifier.padding(horizontal = 16.dp),
6666
buttonText = transferLabel,
67-
isSending = true,
67+
isInProgress = true,
6868
colors = ButtonDefaults.buttonColors(
6969
contentColor = MaterialTheme.colorScheme.onSurface,
7070
containerColor = MaterialTheme.colorScheme.secondaryContainer,

feature/results/src/main/java/com/android/developers/androidify/customize/watchface/WatchFacePanelButton.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fun WatchFacePanelButton(
4848
modifier: Modifier = Modifier,
4949
onClick: () -> Unit = {},
5050
buttonText: String,
51-
isSending: Boolean = false,
51+
isInProgress: Boolean = false,
5252
iconResId: Int? = null,
5353
colors: ButtonColors = ButtonDefaults.buttonColors(
5454
contentColor = MaterialTheme.colorScheme.surface,
@@ -67,7 +67,7 @@ fun WatchFacePanelButton(
6767
Row(
6868
verticalAlignment = Alignment.CenterVertically,
6969
) {
70-
if (isSending) {
70+
if (isInProgress) {
7171
ContainedLoadingIndicator(
7272
modifier = Modifier.size(24.dp),
7373
containerColor = colors.containerColor,
@@ -92,7 +92,7 @@ private fun WatchFaceInstallButtonPreview() {
9292
WatchFacePanelButton(
9393
onClick = { },
9494
buttonText = stringResource(R.string.send_to_watch),
95-
isSending = false,
95+
isInProgress = false,
9696
iconResId = R.drawable.watch_arrow_24,
9797
)
9898
}
@@ -105,7 +105,7 @@ private fun WatchFaceInstalledButtonPreview() {
105105
WatchFacePanelButton(
106106
onClick = { },
107107
buttonText = stringResource(R.string.watch_face_sent),
108-
isSending = false,
108+
isInProgress = false,
109109
iconResId = R.drawable.check_24,
110110
colors = ButtonDefaults.buttonColors(
111111
contentColor = MaterialTheme.colorScheme.onSurface,
@@ -122,7 +122,7 @@ private fun WatchFaceInstallingButtonPreview() {
122122
WatchFacePanelButton(
123123
onClick = { },
124124
buttonText = stringResource(R.string.sending_to_watch),
125-
isSending = true,
125+
isInProgress = true,
126126
colors = ButtonDefaults.buttonColors(
127127
contentColor = MaterialTheme.colorScheme.onSurface,
128128
containerColor = MaterialTheme.colorScheme.secondaryContainer,

0 commit comments

Comments
 (0)