From a529b90bd3efa5468ec4ea96e075feb195e00776 Mon Sep 17 00:00:00 2001 From: Andrew Gunnerson Date: Sun, 30 Jul 2023 21:47:15 -0400 Subject: [PATCH] OutputFilenameGenerator: Add missing return keyword when getting `direction` variable Fixes: #394 Signed-off-by: Andrew Gunnerson --- .../java/com/chiller3/bcr/output/OutputFilenameGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/chiller3/bcr/output/OutputFilenameGenerator.kt b/app/src/main/java/com/chiller3/bcr/output/OutputFilenameGenerator.kt index ebb4dec53..1e44fc822 100644 --- a/app/src/main/java/com/chiller3/bcr/output/OutputFilenameGenerator.kt +++ b/app/src/main/java/com/chiller3/bcr/output/OutputFilenameGenerator.kt @@ -110,7 +110,7 @@ class OutputFilenameGenerator( return formatter.format(metadata.timestamp) } - "direction" -> metadata.direction?.toString() + "direction" -> return metadata.direction?.toString() "sim_slot" -> { // Only append SIM slot ID if the device has multiple active SIMs if (metadata.simCount != null && metadata.simCount > 1) {