diff options
author | pacien | 2018-08-07 00:22:20 +0200 |
---|---|---|
committer | pacien | 2018-08-07 00:22:20 +0200 |
commit | f20f12dba97c290cf6e6fb3474736214a3f79703 (patch) | |
tree | 118304e0720ba09a88919c88913b6761513d402f /app | |
parent | dbba24ef009e5fa9ad428b0ba426b41672fa6b2e (diff) | |
download | tincapp-f20f12dba97c290cf6e6fb3474736214a3f79703.tar.gz |
Sort networks alphabetically
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/kotlin/org/pacien/tincapp/activities/StartActivity.kt | 2 |
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() |