File tree Expand file tree Collapse file tree
java/com/omarea/krscript/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33** Beta**
44
5- + Fixes errors when changing app language
5+ + Fixed check online
6+ + Fixed errors when changing app language
67+ Update add-on patch ROM
78+ Redesign the interface to be more user-friendly
89+ Optimize the source code
Original file line number Diff line number Diff line change 11#! /data/data/com.tool.tree/files/home/bin/bash
22
3- if ping -c 1 google.com > /dev/null; then
3+ if nc -z google.com 80 & > /dev/null; then
44exit 0
5- elif ping -c 1 baidu.com > /dev/null; then
5+ elif nc -z baidu.com 80 & > /dev/null; then
66exit 0
77else
88exit 1
Original file line number Diff line number Diff line change @@ -137,14 +137,17 @@ class DialogLogFragment : DialogFragment() {
137137 binding.actionProgress.isIndeterminate = true
138138
139139 return MyShellHandler (requireContext().applicationContext, object : IActionEventHandler {
140+ // Thay chỗ này trong openExecutor -> onCompleted()
140141 override fun onCompleted () {
141142 running = false
142143 onExit.run ()
143144 offScreen()
144- binding.btnHide.visibility = View .GONE
145- binding.btnCancel.visibility = View .GONE
146- binding.btnExit.visibility = View .VISIBLE
147- binding.actionProgress.visibility = View .GONE
145+ _binding ?.let { b ->
146+ b.btnHide.visibility = View .GONE
147+ b.btnCancel.visibility = View .GONE
148+ b.btnExit.visibility = View .VISIBLE
149+ b.actionProgress.visibility = View .GONE
150+ }
148151 isCancelable = true
149152 }
150153
You can’t perform that action at this time.
0 commit comments