Skip to content

Commit

Permalink
12/06/2023.
Browse files Browse the repository at this point in the history
  • Loading branch information
youndon committed Jun 12, 2023
1 parent cb43888 commit 16a1abe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/com/example/mobile/NoteApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import dagger.hilt.android.HiltAndroidApp
import javax.inject.Inject

@HiltAndroidApp
class NoteApplication: Application(), Configuration.Provider {
class NoteApplication: Application()/*, Configuration.Provider */ {

override fun onCreate() {
super.onCreate()
Expand Down Expand Up @@ -50,7 +50,7 @@ class NoteApplication: Application(), Configuration.Provider {
@Inject
lateinit var hiltWorkerFactory: HiltWorkerFactory

override fun getWorkManagerConfiguration(): Configuration {
return Configuration.Builder().setWorkerFactory(hiltWorkerFactory).build()
}
// override fun getWorkManagerConfiguration(): Configuration {
// return Configuration.Builder().setWorkerFactory(hiltWorkerFactory).build()
// }
}

0 comments on commit 16a1abe

Please sign in to comment.