mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Keep filename if it's null
This commit is contained in:
parent
d1841556c2
commit
b9655c66c2
1 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ class LogCapturer {
|
|||
static LogCapturer? _inst;
|
||||
}
|
||||
|
||||
String logFilename(String? filename) => shouldLogFileName ? "$filename" : "***";
|
||||
String logFilename(String? filename) =>
|
||||
shouldLogFileName || filename == null ? "$filename" : "***";
|
||||
|
||||
const bool shouldLogFileName = kDebugMode;
|
||||
|
|
Loading…
Reference in a new issue