We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6610e3c commit a949fb0Copy full SHA for a949fb0
app/src/main/java/com/hiddenramblings/tagmo/eightbit/io/Debug.kt
@@ -266,7 +266,8 @@ object Debug {
266
}
267
268
private fun writeLogcat(subject: String, logText: String) {
269
- FileOutputStream(File(Storage.getDownloadDir(null), "${subject}-${System.currentTimeMillis()}.txt")).use {
+ val fileName = "${subject.replace(":", "")}.${System.currentTimeMillis()}.txt"
270
+ FileOutputStream(File(Storage.getDownloadDir(null), fileName)).use {
271
it.write(logText.toByteArray())
272
273
0 commit comments