Show Terms of Service prompt on launch
This commit is contained in:
@@ -141,9 +141,7 @@ abstract class BaseActivity : AppCompatActivity(), NetworkProvider.NetworkListen
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun askToReadTOS() {
|
fun askToReadTOS() {
|
||||||
task {
|
runOnUiThread {
|
||||||
TimeUnit.SECONDS.sleep(5)
|
|
||||||
} successUi {
|
|
||||||
if (!supportFragmentManager.isDestroyed) {
|
if (!supportFragmentManager.isDestroyed) {
|
||||||
val sheet = TOSSheet.newInstance()
|
val sheet = TOSSheet.newInstance()
|
||||||
sheet.isCancelable = false
|
sheet.isCancelable = false
|
||||||
|
|||||||
Reference in New Issue
Block a user