Skip to content

Commit

Permalink
Guard new event with FF
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiagr committed Oct 30, 2024
1 parent f7022c6 commit b3be3c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ class EffectsFragment : BaseDialogFragment(), CompoundButton.OnCheckedChangeList
super.onCreate(savedInstanceState)

if (savedInstanceState == null) {
viewModel.trackPlaybackEffectsEvent(AnalyticsEvent.PLAYBACK_EFFECT_SETTINGS_VIEW_APPEARED)
if (FeatureFlag.isEnabled(Feature.CUSTOM_PLAYBACK_SETTINGS)) {
viewModel.trackPlaybackEffectsEvent(AnalyticsEvent.PLAYBACK_EFFECT_SETTINGS_VIEW_APPEARED)
}
}
}

Expand Down

0 comments on commit b3be3c1

Please sign in to comment.