Skip to content
Snippets Groups Projects
Commit e945ca2a authored by Andreas Schildbach's avatar Andreas Schildbach
Browse files

MainActivity: Fix usage of deprecated WorkManager API.

parent 807fbd8c
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class MainActivity : AppCompatActivity() {
.commit()
}
val workManager = WorkManager.getInstance()
val workManager = WorkManager.getInstance(this)
if (!bluetoothAdapter.bondedDevices.isEmpty()
) {
val setClockRequest =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment