diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index a993f09..53da2cd 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -341,9 +341,10 @@ fn search_results( let caught_up = query.contains("is:unread"); let read_emoji = ["👻", "👽", "👾", "🤖", "💀"]; let no_results_emoji = ["🙈", "👀", "🤦", "🤷", "🙅", "🛟", "🍩", "🌑", "💿", "🔍"]; + // Randomly choose emoji based on what 10-second window we're currently in let now = seed::window() .performance() - .map(|p| p.now() as usize) + .map(|p| p.now() as usize / 10_000) .unwrap_or(0); let (emoji, text) = if caught_up { let idx = now % read_emoji.len();