Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
baronhsieh2005 committed Sep 9, 2024
1 parent b0b1ab9 commit 22a3761
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ class GsrFragment : Fragment() {
mGSRS.add(newGSRObject)
}
}

fun checkIfFragmentAttached(operation: Context.() -> Unit) {
if (isAdded && context != null) {
operation(requireContext())
Expand Down

0 comments on commit 22a3761

Please sign in to comment.