Skip to content

Commit

Permalink
Fixed predictive back gesture toggle not working (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza417 committed Jul 30, 2024
1 parent c1c10e6 commit 13a3665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 264 deletions.
263 changes: 0 additions & 263 deletions .idea/other.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ abstract class ScopedFragment : Fragment(), SharedPreferences.OnSharedPreference
animateBlur()

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
setupBackPressedCallback(view as ViewGroup)
if (DevelopmentPreferences.get(DevelopmentPreferences.TEST_PREDICTIVE_BACK_GESTURE)) {
setupBackPressedCallback(view as ViewGroup)
}
}
}

Expand Down

0 comments on commit 13a3665

Please sign in to comment.