Skip to content

Commit

Permalink
Mute icon flash resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Veercodeprog committed Aug 9, 2024
1 parent fba9d81 commit 5670c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr/src/component/scrolling_post_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub fn ScrollingPostView<F: Fn() -> V + Clone + 'static, V, O: Fn() -> IV, IV: I
>
<Icon
class=format!("text-white/80 text-4xl {}",
if js_sys::Date::now() - last_muted_change.get() < 3000.0 { "flash-animation" } else { "hidden" })
if js_sys::Date::now() - last_muted_change.get() < 3000.0 { "flash-animation" } else { "" })
icon=icondata::BiVolumeMuteSolid
/>
</button>
Expand Down

0 comments on commit 5670c8f

Please sign in to comment.