aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorpacien2018-08-07 00:22:20 +0200
committerpacien2018-08-07 00:22:20 +0200
commitf20f12dba97c290cf6e6fb3474736214a3f79703 (patch)
tree118304e0720ba09a88919c88913b6761513d402f /app
parentdbba24ef009e5fa9ad428b0ba426b41672fa6b2e (diff)
downloadtincapp-f20f12dba97c290cf6e6fb3474736214a3f79703.tar.gz
Sort networks alphabetically
Diffstat (limited to 'app')
-rw-r--r--app/src/main/kotlin/org/pacien/tincapp/activities/StartActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/org/pacien/tincapp/activities/StartActivity.kt b/app/src/main/kotlin/org/pacien/tincapp/activities/StartActivity.kt
index 1e267d6..50e002f 100644
--- a/app/src/main/kotlin/org/pacien/tincapp/activities/StartActivity.kt
+++ b/app/src/main/kotlin/org/pacien/tincapp/activities/StartActivity.kt
@@ -68,7 +68,7 @@ class StartActivity : BaseActivity() {
68 } 68 }
69 69
70 override fun onRefresh() { 70 override fun onRefresh() {
71 val networks = AppPaths.confDir().list()?.toList() ?: emptyList() 71 val networks = AppPaths.confDir().list()?.sorted() ?: emptyList()
72 runOnUiThread { 72 runOnUiThread {
73 networkListAdapter?.setElements(networks) 73 networkListAdapter?.setElements(networks)
74 setPlaceholderVisibility() 74 setPlaceholderVisibility()