fix: Connectivity toast message was causing issues.
This commit is contained in:
parent
cf6ef51edf
commit
43d44827d1
@ -82,13 +82,14 @@ class MyApp :
|
|||||||
} else {
|
} else {
|
||||||
R.string.network_connectivity_lost
|
R.string.network_connectivity_lost
|
||||||
}
|
}
|
||||||
|
launch(Dispatchers.Main) {
|
||||||
Toast
|
Toast
|
||||||
.makeText(
|
.makeText(
|
||||||
applicationContext,
|
applicationContext,
|
||||||
toastMessage,
|
toastMessage,
|
||||||
Toast.LENGTH_SHORT,
|
Toast.LENGTH_SHORT,
|
||||||
).show()
|
).show()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user