mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-07 02:51:21 -04:00
fix: missing radio config import/export buttons
This commit is contained in:
1 parent
49ac8a432d
commit
76454cc802
1 file changed
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user