Skip to content

Commit a462325

Browse files
committed
Update missed comments
1 parent c47eb9b commit a462325

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

JetNews/app/src/main/java/com/example/jetnews/ui/home/HomeScreens.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fun EntryProviderScope<NavKey>.homeEntry(
147147
}
148148

149149
/**
150-
* Displays the Home route.
150+
* Displays the Home screen.
151151
*
152152
* Note: AAC ViewModels don't work with Compose Previews currently.
153153
*

JetNews/app/src/main/java/com/example/jetnews/ui/home/HomeViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import kotlinx.coroutines.flow.update
3333
import kotlinx.coroutines.launch
3434

3535
/**
36-
* UI state for the Home route.
36+
* UI state for the Home screen.
3737
*
3838
* This is derived from [HomeViewModelState], but split into two possible subclasses to more
3939
* precisely represent the state available to render the UI.
@@ -66,7 +66,7 @@ sealed interface HomeUiState {
6666
}
6767

6868
/**
69-
* An internal representation of the Home route state, in a raw form
69+
* An internal representation of the Home screen state, in a raw form
7070
*/
7171
private data class HomeViewModelState(
7272
val postsFeed: PostsFeed? = null,

JetNews/app/src/main/java/com/example/jetnews/ui/interests/InterestsScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fun EntryProviderScope<NavKey>.interestsEntry(
130130
}
131131

132132
/**
133-
* Stateful composable that displays the Navigation route for the Interests screen.
133+
* Stateful composable that displays the Interests screen.
134134
*
135135
* @param interestsViewModel ViewModel that handles the business logic of this screen
136136
* @param isExpandedScreen (state) true if the screen is expanded

0 commit comments

Comments
 (0)