Change Export All to a txt file. (#2566)

This commit is contained in:
DaneEvans 2025-07-30 11:26:29 +10:00 committed by GitHub
parent 78b38f8e1c
commit 2d65e1c954
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -624,7 +624,7 @@ fun DebugMenuActions(viewModel: DebugViewModel = hiltViewModel(), modifier: Modi
private suspend fun exportAllLogs(context: Context, logs: List<UiMeshLog>) = withContext(Dispatchers.IO) {
try {
val timestamp = SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US).format(Date())
val fileName = "meshtastic_debug_$timestamp.log"
val fileName = "meshtastic_debug_$timestamp.txt"
// Get the Downloads directory
val downloadsDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)