mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: missing radio config import/export buttons
This commit is contained in:
parent
49ac8a432d
commit
76454cc802
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue