1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2024-12-21 23:32:40 +00:00

Made refresh stop on empty homepage

This commit is contained in:
Corewala 2022-06-20 17:44:09 -04:00
parent 13af2089d8
commit 28fa72f59e

View file

@ -849,9 +849,11 @@ class GemActivity : AppCompatActivity() {
if(initialised){
if(address.isEmpty()){
loadingView(false)
binding.pullToRefresh.isRefreshing = false
adapter.render(listOf("# ${getString(R.string.app_name)}"))
}else{
model.request(address, certPassword)
}
model.request(address, certPassword)
}else{
initialise()
}