From 2eddf0ba7edd0d0331f0532b387754d73c9330d1 Mon Sep 17 00:00:00 2001 From: Takeshi Hagikura Date: Fri, 7 Apr 2023 14:33:21 +0900 Subject: [PATCH] Fix formatting issues Change-Id: Id9efb259bd8ac6a83af19fb370869aa19f78831d --- .../com/google/samples/apps/nowinandroid/ui/NiaAppState.kt | 1 - .../apps/nowinandroid/feature/search/SearchViewModel.kt | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaAppState.kt b/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaAppState.kt index e37f04a83..915ad7f09 100644 --- a/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaAppState.kt +++ b/app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaAppState.kt @@ -29,7 +29,6 @@ import androidx.navigation.NavController import androidx.navigation.NavDestination import androidx.navigation.NavGraph.Companion.findStartDestination import androidx.navigation.NavHostController -import androidx.navigation.NavOptionsBuilder import androidx.navigation.compose.currentBackStackEntryAsState import androidx.navigation.compose.rememberNavController import androidx.navigation.navOptions diff --git a/feature/search/src/main/java/com/google/samples/apps/nowinandroid/feature/search/SearchViewModel.kt b/feature/search/src/main/java/com/google/samples/apps/nowinandroid/feature/search/SearchViewModel.kt index 936be7e83..00194af0a 100644 --- a/feature/search/src/main/java/com/google/samples/apps/nowinandroid/feature/search/SearchViewModel.kt +++ b/feature/search/src/main/java/com/google/samples/apps/nowinandroid/feature/search/SearchViewModel.kt @@ -21,8 +21,7 @@ import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel -class SearchViewModel @Inject constructor( -) : ViewModel() { +class SearchViewModel @Inject constructor() : ViewModel() { fun onSearchQueryChanged(searchQuery: String) { // TODO: Pass it to UseCase