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 @@ -261,16 +261,12 @@ class DialogLogFragment : DialogFragment() {
261261 msg?.let { origin ->
262262 fullLogBuilder.append(origin.toString()).append(" \n " )
263263 listView.post {
264- val cleanMsg = origin.toString().trim(' \n ' , ' \r ' )
265- if (cleanMsg.isNotEmpty()) {
266- val spannableClean = SpannableString (cleanMsg)
267- logData.add(spannableClean)
268- if (logData.size > 5000 ) {
269- logData.subList(0 , logData.size - 5000 ).clear()
270- }
271- adapter.notifyDataSetChanged()
272- listView.setSelection(logData.size - 1 )
264+ logData.add(origin)
265+ if (logData.size > 5000 ) {
266+ logData.subList(0 , logData.size - 5000 ).clear()
273267 }
268+ adapter.notifyDataSetChanged()
269+ listView.setSelection(logData.size - 1 )
274270 }
275271 }
276272 }
Original file line number Diff line number Diff line change 99 android : paddingBottom =" 1dp"
1010 android : minHeight =" 0dp"
1111 android : textSize =" 12sp"
12+ android : breakStrategy =" simple"
1213 android : fontFamily =" monospace" />
You can’t perform that action at this time.
0 commit comments