mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-27 09:24:45 +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;
|
static LogCapturer? _inst;
|
||||||
}
|
}
|
||||||
|
|
||||||
String logFilename(String? filename) => shouldLogFileName ? "$filename" : "***";
|
String logFilename(String? filename) =>
|
||||||
|
shouldLogFileName || filename == null ? "$filename" : "***";
|
||||||
|
|
||||||
const bool shouldLogFileName = kDebugMode;
|
const bool shouldLogFileName = kDebugMode;
|
||||||
|
|
Loading…
Add table
Reference in a new issue