Release updated linked devices.

This commit is contained in:
Michelle Tang
2024-06-25 09:58:42 -07:00
committed by Nicholas Tinsley
parent d7b5c6bff3
commit 37a2d5fbca
2 changed files with 2 additions and 14 deletions

View File

@@ -159,13 +159,7 @@ class AppSettingsFragment : DSLSettingsFragment(
clickPref(
title = DSLSettingsText.from(R.string.preferences__linked_devices),
icon = DSLSettingsIcon.from(R.drawable.symbol_devices_24),
onClick = {
if (RemoteConfig.internalUser) {
findNavController().safeNavigate(R.id.action_appSettingsFragment_to_linkDeviceFragment)
} else {
findNavController().safeNavigate(R.id.action_appSettingsFragment_to_deviceActivity)
}
},
onClick = { findNavController().safeNavigate(R.id.action_appSettingsFragment_to_linkDeviceFragment) },
isEnabled = state.isRegisteredAndUpToDate()
)