Skip to content

Commit

Permalink
Merge pull request #939 from Dygmalab/fixTrueSleepPreferences
Browse files Browse the repository at this point in the history
fix: true sleep option now goes from 0-60
  • Loading branch information
alexpargon authored Nov 13, 2024
2 parents b908884 + ed68f64 commit ff46055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/modules/Settings/EnergyManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function EnergyManagement(props: EnergyManagementProps) {
<div className="block w-full relative">
<Slider
min={0}
max={100}
max={60}
step={1}
value={[Math.round(wireless.true_sleep_time / 60)]}
onValueChange={setTrueSleepTime}
Expand All @@ -144,7 +144,7 @@ function EnergyManagement(props: EnergyManagementProps) {
</div>
<div className="flex justify-between">
<span className="text-xs text-gray-300 dark:text-gray-200">1 min</span>
<span className="text-xs text-gray-300 dark:text-gray-200">240 min</span>
<span className="text-xs text-gray-300 dark:text-gray-200">60 min</span>
</div>
</div>
<div className="mt-3 text-sm font-semibold tracking-tight text-gray-500 dark:text-gray-100">
Expand Down

0 comments on commit ff46055

Please sign in to comment.