Skip to content

Commit

Permalink
Rename loading timer const
Browse files Browse the repository at this point in the history
  • Loading branch information
1hitsong committed Dec 2, 2023
1 parent 9cea33d commit 551df56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/home/HomeRows.bs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "pkg:/source/utils/misc.bs"
import "pkg:/source/constants/HomeRowItemSizes.bs"

const FOCUS_RESIZE_WAIT_TIME = 2
const LOADING_WAIT_TIME = 2

sub init()
m.top.itemComponentName = "HomeItem"
Expand All @@ -19,7 +19,7 @@ sub init()
m.top.content = CreateObject("roSGNode", "ContentNode")

m.loadingTimer = createObject("roSGNode", "Timer")
m.loadingTimer.duration = FOCUS_RESIZE_WAIT_TIME
m.loadingTimer.duration = LOADING_WAIT_TIME
m.loadingTimer.observeField("fire", "loadingTimerComplete")

updateSize()
Expand Down

0 comments on commit 551df56

Please sign in to comment.