We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5edc2c9 commit 1bd1acfCopy full SHA for 1bd1acf
1 file changed
krscript/src/main/java/com/omarea/krscript/ui/DialogLogFragment.kt
@@ -131,7 +131,7 @@ class DialogLogFragment : androidx.fragment.app.DialogFragment() {
131
132
binding?.actionProgress?.isIndeterminate = true
133
134
- return MyShellHandler(object : IActionEventHandler {
+ return MyShellHandler(requireContext(), object : IActionEventHandler {
135
override fun onCompleted() {
136
running = false
137
onExit.run()
@@ -175,7 +175,7 @@ class DialogLogFragment : androidx.fragment.app.DialogFragment() {
175
}
176
177
class MyShellHandler(
178
- private val appContext: Context,
+ appContext: Context,
179
private var actionEventHandler: IActionEventHandler,
180
private var logView: TextView?,
181
private var shellProgress: ProgressBar?
0 commit comments