feat: update devices list from repositories

This commit is contained in:
andrekir 2023-04-06 21:04:03 -03:00
parent 2d0d7b3986
commit 804d4f0e27
5 changed files with 31 additions and 35 deletions

View file

@ -712,8 +712,6 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
override fun onResume() {
super.onResume()
scanModel.setupScan()
// system permissions might have changed while we were away
binding.provideLocationCheckbox.isChecked = requireContext().hasBackgroundPermission() && (model.provideLocation.value ?: false)