diff options
Diffstat (limited to 'app/src')
-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() |