pull/3516/head
Travis Evans 2024-07-09 17:09:59 -05:00
parent 58e710d2da
commit 2ee7ba26ed
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
const Layout = require('Layout'); const Layout = require('Layout');
const locale = require('locale'); const locale = require('locale');
const storage = require('Storage');
const tsl = require('timestamplog'); const tsl = require('timestamplog');
@ -198,7 +197,7 @@ class MainScreen {
Math.floor(availableHeight / logItemHeight)); Math.floor(availableHeight / logItemHeight));
// Populate log items in layout // Populate log items in layout
for (i = 0; i < this.itemsPerPage; i++) { for (let i = 0; i < this.itemsPerPage; i++) {
layout.logItems.c.push( layout.logItems.c.push(
{type: 'custom', render: renderLogItem, item: undefined, itemIdx: undefined, {type: 'custom', render: renderLogItem, item: undefined, itemIdx: undefined,
fillx: 1, height: logItemHeight} fillx: 1, height: logItemHeight}
@ -385,7 +384,6 @@ class MainScreen {
class LogEntryScreen { class LogEntryScreen {
constructor(stampLog, logIdx) { constructor(stampLog, logIdx) {
stampLog = stampLog;
this.logIdx = logIdx; this.logIdx = logIdx;
this.logItem = stampLog.log[logIdx]; this.logItem = stampLog.log[logIdx];