Skip to content

Commit

Permalink
Enable selecting text in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mchowning committed Aug 21, 2023
1 parent e6b8349 commit 44ba3a7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.text.selection.SelectionContainer
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
Expand Down Expand Up @@ -121,7 +122,9 @@ private fun LogsContent(
if (logs == null) {
LoadingView()
} else {
TextP60(logs)
SelectionContainer {
TextP60(logs)
}
}
}
}
Expand Down

0 comments on commit 44ba3a7

Please sign in to comment.