Skip to content

Commit

Permalink
* Renames: Content to SiteMonitorTabContent
Browse files Browse the repository at this point in the history
  • Loading branch information
AjeshRPai committed Jan 29, 2024
1 parent aa95c50 commit 9b85571
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SiteMonitorTabFragment : Fragment(), SiteMonitorWebViewClient.SiteMonitorW
savedInstanceState: Bundle?
): View = ComposeView(requireContext()).apply {
setContent {
TheContent()
SiteMonitorTabContent()
}
}

Expand Down Expand Up @@ -91,7 +91,7 @@ class SiteMonitorTabFragment : Fragment(), SiteMonitorWebViewClient.SiteMonitorW
}

@Composable
private fun TheContent() {
private fun SiteMonitorTabContent() {
val uiState by viewModel.uiState.collectAsState()
when (uiState) {
is SiteMonitorUiState.Preparing -> LoadingState()
Expand Down

0 comments on commit 9b85571

Please sign in to comment.