XDRIP: fix reset to full sync crash

This commit is contained in:
Milos Kozak 2023-02-18 12:02:08 +01:00
parent 88ade01a63
commit eee6fca854

View file

@ -78,7 +78,7 @@ class XdripFragment : DaggerFragment(), MenuProvider, PluginFragment {
context?.let { context ->
OKDialog.showConfirmation(
context, rh.gs(R.string.ns_client), rh.gs(R.string.full_sync_comment),
Runnable { dataSyncSelector.resetToNextFullSync() }
Thread { dataSyncSelector.resetToNextFullSync() }
)
}
true