mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Small improvement in code readability
This commit is contained in:
parent
82fabf4a85
commit
54aec63f6c
1 changed files with 1 additions and 6 deletions
|
@ -23,7 +23,6 @@ import android.view.View
|
|||
import android.view.ViewGroup
|
||||
import android.widget.Toast
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.core.view.isGone
|
||||
import androidx.core.view.isVisible
|
||||
import com.airbnb.mvrx.Success
|
||||
import com.airbnb.mvrx.fragmentViewModel
|
||||
|
@ -155,11 +154,7 @@ class SessionOverviewFragment :
|
|||
)
|
||||
views.sessionOverviewInfo.render(infoViewState, dateFormatter, drawableProvider, colorProvider)
|
||||
} else {
|
||||
hideSessionInfo()
|
||||
views.sessionOverviewInfo.isVisible = false
|
||||
}
|
||||
}
|
||||
|
||||
private fun hideSessionInfo() {
|
||||
views.sessionOverviewInfo.isGone = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue