We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 581ed5b commit d1d5994Copy full SHA for d1d5994
1 file changed
app/src/org/commcare/fragments/base/BaseConnectFragment.kt
@@ -146,7 +146,7 @@ abstract class BaseConnectFragment<B : ViewBinding> :
146
147
private fun showOfflineIndicator() {
148
val message = buildOfflineMessage()
149
- topBarErrorViewController?.showOfflineStatus(message)
+ topBarErrorViewController!!.showOfflineStatus(message)
150
}
151
152
private fun buildOfflineMessage(): String {
@@ -170,7 +170,7 @@ abstract class BaseConnectFragment<B : ViewBinding> :
170
object : ConnectivityManager.NetworkCallback() {
171
override fun onAvailable(network: Network) {
172
view?.post {
173
- topBarErrorViewController?.hide()
+ topBarErrorViewController!!.hide()
174
175
176
0 commit comments