XDRIP: fix reset to full sync crash
This commit is contained in:
parent
88ade01a63
commit
eee6fca854
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class XdripFragment : DaggerFragment(), MenuProvider, PluginFragment {
|
||||||
context?.let { context ->
|
context?.let { context ->
|
||||||
OKDialog.showConfirmation(
|
OKDialog.showConfirmation(
|
||||||
context, rh.gs(R.string.ns_client), rh.gs(R.string.full_sync_comment),
|
context, rh.gs(R.string.ns_client), rh.gs(R.string.full_sync_comment),
|
||||||
Runnable { dataSyncSelector.resetToNextFullSync() }
|
Thread { dataSyncSelector.resetToNextFullSync() }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue