Skip to content

Commit

Permalink
Fix: Fixed crash on trying to get to settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
CreativeCodeCat committed Nov 29, 2024
1 parent 4167abd commit 2ead2c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ class HomeFragment : Fragment(),
val actionTypeNavOptions: NavOptions =
appHelper.getActionType(Constants.Swipe.DoubleTap)
findNavController().navigate(
R.id.action_HomeFragment_to_SettingsFragment,
R.id.SettingsFragment,
null,
actionTypeNavOptions
)
Expand All @@ -540,12 +540,12 @@ class HomeFragment : Fragment(),
})

if (preferenceHelper.settingsLock) {
fingerHelper.startBiometricSettingsAuth(R.id.action_HomeFragment_to_SettingsFragment)
fingerHelper.startBiometricSettingsAuth(R.id.SettingsFragment)
} else {
val actionTypeNavOptions: NavOptions =
appHelper.getActionType(Constants.Swipe.DoubleTap)
findNavController().navigate(
R.id.action_HomeFragment_to_SettingsFragment,
R.id.SettingsFragment,
null,
actionTypeNavOptions
)
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/res/values/ids.xml

This file was deleted.

0 comments on commit 2ead2c1

Please sign in to comment.