aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorpacien2018-02-24 01:50:02 +0100
committerpacien2018-02-24 01:50:02 +0100
commit10fae9e4f5b4bc00580f7972ad0a3e07bb680bfb (patch)
treeb06128e526ce76a3794a1dece41eaa909499b1eb /app/src/main/java
parent3c1a29e2b8717a20948773bbc21abdc723ce5dee (diff)
downloadtincapp-10fae9e4f5b4bc00580f7972ad0a3e07bb680bfb.tar.gz
Replace node list loading placeholder
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt b/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt
index c4873d8..0726ee9 100644
--- a/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt
+++ b/app/src/main/java/org/pacien/tincapp/activities/StatusActivity.kt
@@ -137,7 +137,7 @@ class StatusActivity : BaseActivity(), AdapterView.OnItemClickListener, SwipeRef
137 137
138 private fun writeNodeList(nodeList: List<String>) = runOnUiThread { 138 private fun writeNodeList(nodeList: List<String>) = runOnUiThread {
139 nodeListAdapter?.setElements(nodeList) 139 nodeListAdapter?.setElements(nodeList)
140 node_list_placeholder.visibility = if (nodeListAdapter?.isEmpty != false) View.VISIBLE else View.GONE 140 node_list_placeholder.visibility = View.GONE
141 list_wrapper.isRefreshing = false 141 list_wrapper.isRefreshing = false
142 } 142 }
143 143