Show Terms of Service prompt on launch

This commit is contained in:
Oliver Scott
2021-09-02 22:05:58 -04:00
parent 934a96fb11
commit 2def492c1e

View File

@@ -141,9 +141,7 @@ abstract class BaseActivity : AppCompatActivity(), NetworkProvider.NetworkListen
}
fun askToReadTOS() {
task {
TimeUnit.SECONDS.sleep(5)
} successUi {
runOnUiThread {
if (!supportFragmentManager.isDestroyed) {
val sheet = TOSSheet.newInstance()
sheet.isCancelable = false