mirror of https://github.com/BOINC/boinc.git
Fix Crash when clicking on the 'Enable Remote Control' checkbox
This commit is contained in:
parent
b1caf739e7
commit
0cc14edb6e
|
@ -300,7 +300,7 @@ class SettingsFragment : PreferenceFragmentCompat(), SharedPreferences.OnSharedP
|
|||
"remoteEnable" -> {
|
||||
val isRemote = sharedPreferences.getBoolean(key, false)
|
||||
BOINCActivity.monitor!!.isRemote = isRemote
|
||||
findPreference<EditTextPreference>("authenticationKey")?.isVisible = isRemote
|
||||
findPreference<Preference>("authenticationKey")?.isVisible = isRemote
|
||||
quitClient()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue