Remove unneeded logs

This commit is contained in:
2026-01-03 22:29:30 +09:00
parent 61991063a1
commit a5fac2f6c7
-2
View File
@@ -104,12 +104,10 @@ class MainViewModel : BaseViewModel, IFontResolver
var outputFileName = "MyReceipts.pdf";
var folderName = new DirectoryInfo(folderPath).Name;
const int imageWidth = 425;
LogInfo("Folder name is " + folderName);
if (folderName.Contains('-'))
{
// see if year/month format
var parts = folderName.Split('-');
LogInfo(string.Format("{0}, {1}", parts[0], parts[1]));
if (parts[0].Length == 4 &&
parts[1].Length <= 2 &&
int.TryParse(parts[0], out int year) && int.TryParse(parts[1], out int month))