Skip to content

Commit ba5b544

Browse files
1951FDGhannesa2
authored andcommitted
Code style format
1 parent 926a524 commit ba5b544

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

LogcatCoreLib/src/main/java/info/hannes/logcat/Event.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ open class Event<out T>(private val content: T) {
5454
*/
5555
@Suppress("unused")
5656
class EventObserver<T>(private val onEventUnhandledContent: (T) -> Unit) : Observer<Event<T>> {
57+
5758
override fun onChanged(event: Event<T>?) {
5859
event?.getContentIfNotHandled()?.let {
5960
onEventUnhandledContent(it)

LogcatCoreLib/src/main/java/info/hannes/logcat/base/LogListAdapter.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ class LogListAdapter(private var completeLogs: MutableList<String>, filter: Stri
4949
completeLogs.add(completeLogs.size, line)
5050

5151
currentFilter.let {
52-
for (filter in it)
52+
for (filter in it) {
5353
if (line.contains(filter)) {
5454
filterLogs.add(filterLogs.size, line)
5555
notifyItemInserted(filterLogs.size - 1)
5656
}
57+
}
5758
}
5859
}
5960

0 commit comments

Comments
 (0)