Skip to content

Commit 5edc2c9

Browse files
committed
Upload file
1 parent 43b131b commit 5edc2c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

krscript/src/main/java/com/omarea/krscript/ui/DialogLogFragment.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,14 @@ class DialogLogFragment : androidx.fragment.app.DialogFragment() {
175175
}
176176

177177
class MyShellHandler(
178+
private val appContext: Context,
178179
private var actionEventHandler: IActionEventHandler,
179180
private var logView: TextView?,
180181
private var shellProgress: ProgressBar?
181182
) : ShellHandlerBase() {
182183

183184
init {
184-
super.context = context
185+
super.context = appContext
185186
}
186187

187188
private val context = logView?.context

0 commit comments

Comments
 (0)