From 1b35392f9cb68909cdbe5aa813c55b96f2734ca2 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 25 Oct 2020 07:09:21 +0000 Subject: [PATCH] Remove unnecessary properties --- src/library/library.cr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/library/library.cr b/src/library/library.cr index ce2b1be..35d9e89 100644 --- a/src/library/library.cr +++ b/src/library/library.cr @@ -1,6 +1,6 @@ class Library property dir : String, title_ids : Array(String), - title_hash : Hash(String, Title), entries_count = 0, thumbnails_count = 0 + title_hash : Hash(String, Title) use_default @@ -13,6 +13,9 @@ class Library @title_ids = [] of String @title_hash = {} of String => Title + @entries_count = 0 + @thumbnails_count = 0 + scan_interval = Config.current.scan_interval_minutes if scan_interval < 1 scan