fix: missing radio config import/export buttons

This commit is contained in:
andrekir
2024-12-03 09:21:06 -03:00
parent 49ac8a432d
commit 76454cc802

View File

@@ -131,7 +131,8 @@ class NavGraphFragment : ScreenFragment("NavGraph"), Logging {
container: ViewGroup?,
savedInstanceState: Bundle?
): View {
val destNum = arguments?.getInt("destNum")
@Suppress("DEPRECATION")
val destNum = arguments?.getSerializable("destNum") as? Int
val startDestination: Any = when (arguments?.getString("startDestination")) {
"NodeDetails" -> Route.NodeDetail(destNum!!)
else -> Route.RadioConfig(destNum)