Skip to content

Commit

Permalink
Coming Soon placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
imashnake0 committed Feb 27, 2024
1 parent 71be5d1 commit 2f01d45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import androidx.compose.ui.graphics.Brush
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.dimensionResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
Expand Down Expand Up @@ -187,9 +188,10 @@ fun UserTabs(modifier: Modifier = Modifier) {
)
)) {
Text(
modifier = Modifier.align(Alignment.Center),
text = "${titles[state]} tab selected",
style = MaterialTheme.typography.bodyLarge
text = stringResource(coreR.string.coming_soon),
color = MaterialTheme.colorScheme.onSurfaceVariant,
style = MaterialTheme.typography.labelLarge,
modifier = Modifier.align(Alignment.Center)
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import com.imashnake.animite.core.ui.LocalPaddings
import com.imashnake.animite.core.R as coreR
import com.imashnake.animite.core.ui.ProgressIndicator
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta.composedestinations.annotation.RootNavGraph
import com.imashnake.animite.core.R as coreR

@RootNavGraph(start = true)
@Destination(route = "rslash-screen")
Expand All @@ -38,7 +37,6 @@ fun RSlashScreen() {
color = MaterialTheme.colorScheme.onSurfaceVariant,
style = MaterialTheme.typography.labelLarge
)
ProgressIndicator()
}
}
}

0 comments on commit 2f01d45

Please sign in to comment.