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:
parent
13af2089d8
commit
28fa72f59e
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue