Commit e945ca2a authored by Andreas Schildbach's avatar Andreas Schildbach
Browse files

MainActivity: Fix usage of deprecated WorkManager API.

parent 807fbd8c
......@@ -104,7 +104,7 @@ class MainActivity : AppCompatActivity() {
.commit()
}
val workManager = WorkManager.getInstance()
val workManager = WorkManager.getInstance(this)
if (!bluetoothAdapter.bondedDevices.isEmpty()
) {
val setClockRequest =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment