improve network settings

This commit is contained in:
Kr328 committed 2020-02-28 01:13:11 +08:00
1 parent 4ef3a20929
commit 8a123e7a0d
1 file changed
+9 -1
@@ -19,6 +19,14 @@ class SettingsNetworkActivity : BaseActivity() {
Snackbar.make(rootView, R.string.options_unavailable, Snackbar.LENGTH_INDEFINITE).show()
}
override suspend fun onClashStopped(reason: String?) {
recreate()
}
override suspend fun onClashStarted() {
recreate()
}
override val activityLabel: CharSequence?
get() = getText(R.string.network)
}
}