Skip to content

Commit

Permalink
make view model instance as private in MainActivity (#1621)
Browse files Browse the repository at this point in the history
  • Loading branch information
momintahir authored Sep 20, 2024
1 parent a83c873 commit 4699fa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class MainActivity : ComponentActivity() {
@Inject
lateinit var userNewsResourceRepository: UserNewsResourceRepository

val viewModel: MainActivityViewModel by viewModels()
private val viewModel: MainActivityViewModel by viewModels()

override fun onCreate(savedInstanceState: Bundle?) {
val splashScreen = installSplashScreen()
Expand Down

0 comments on commit 4699fa9

Please sign in to comment.