Skip to content

Commit

Permalink
Enable selecting text in logs (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchowning authored Aug 22, 2023
1 parent e6b8349 commit 2bde768
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
7.47
-----

* Updates:
* Enable copying logs from in-app logs viewer
([#1298](https://github.com/Automattic/pocket-casts-android/pull/1298))

7.46
-----

Expand Down
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 2bde768

Please sign in to comment.