Skip to content

Commit

Permalink
Update ClusterDetailFragment.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLiuZhuoCheng authored Dec 10, 2021
1 parent c198bd2 commit 3c0b68b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ClusterDetailFragment : Fragment() {
): View {
devicePtr = checkNotNull(requireArguments().getLong(DEVICE_PTR))
endpointId = checkNotNull(requireArguments().getInt(ENDPOINT_ID_KEY))
historyCommand = requireArguments().getSerializable(HISTORY_COMMAND) as HistoryCommand
historyCommand = requireArguments().getSerializable(HISTORY_COMMAND) as HistoryCommand?
return inflater.inflate(R.layout.cluster_detail_fragment, container, false).apply {
deviceController.setCompletionListener(GenericChipDeviceListener())
if (historyCommand != null) {
Expand Down Expand Up @@ -386,4 +386,4 @@ class ClusterDetailFragment : Fragment() {
}
}
}
}
}

0 comments on commit 3c0b68b

Please sign in to comment.