1
0
Fork 0
mirror of https://github.com/Corewala/Buran synced 2024-12-22 07:42:43 +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(initialised){
if(address.isEmpty()){ if(address.isEmpty()){
loadingView(false) loadingView(false)
binding.pullToRefresh.isRefreshing = false
adapter.render(listOf("# ${getString(R.string.app_name)}")) adapter.render(listOf("# ${getString(R.string.app_name)}"))
}else{
model.request(address, certPassword)
} }
model.request(address, certPassword)
}else{ }else{
initialise() initialise()
} }