diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9ddd242..418949e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -35,7 +35,6 @@ diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt index 3b6ec83..f7499cd 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt @@ -42,6 +42,8 @@ class DNSListActivity : AppCompatActivity() { ) } + var isLoading = true; + override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_dns_list) @@ -74,6 +76,7 @@ class DNSListActivity : AppCompatActivity() { Runnable { adapter.sort() + isLoading = false } ) } @@ -91,6 +94,9 @@ class DNSListActivity : AppCompatActivity() { val saveButton = item .actionView.findViewById