fix: remove constructor from DeviceSettingsFragment

This commit is contained in:
andrekir 2023-09-11 21:26:42 -03:00
parent e20e66b7f7
commit b93098cbce
4 changed files with 27 additions and 6 deletions

View file

@ -129,8 +129,9 @@ class UsersFragment : ScreenFragment("Users"), Logging {
}
R.id.remote_admin -> {
debug("calling remote admin --> destNum: ${node.num.toUInt()}")
model.setDestNode(node)
parentFragmentManager.beginTransaction()
.replace(R.id.mainActivityLayout, DeviceSettingsFragment(node))
.replace(R.id.mainActivityLayout, DeviceSettingsFragment())
.addToBackStack(null)
.commit()
}