Skip to content

Commit

Permalink
Set correct variable for password timeout.
Browse files Browse the repository at this point in the history
Fixes #12415
  • Loading branch information
johanw666 authored and alex-signal committed Aug 26, 2022
1 parent 5533466 commit fae2cea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class PrivacySettingsFragment : DSLSettingsFragment(R.string.preferences__privac
summary = DSLSettingsText.from(R.string.preferences__auto_lock_signal_after_a_specified_time_interval_of_inactivity),
isChecked = state.isObsoletePasswordTimeoutEnabled,
onClick = {
viewModel.setObsoletePasswordTimeoutEnabled(!state.isObsoletePasswordEnabled)
viewModel.setObsoletePasswordTimeoutEnabled(!state.isObsoletePasswordTimeoutEnabled)
}
)

Expand Down

0 comments on commit fae2cea

Please sign in to comment.