Skip to content

Commit

Permalink
fix(theme): adjust treshold for theme change
Browse files Browse the repository at this point in the history
  • Loading branch information
momcilovicluka committed Feb 11, 2024
1 parent ddd1f62 commit 99b06ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.concurrent.TimeUnit;

public class MainActivity extends AppCompatActivity implements SensorEventListener {
private static final float LIGHT_THRESHOLD = 80.0f;
private static final float LIGHT_THRESHOLD = 20.0f;
private static final long THEME_CHANGE_COOLDOWN = 5000; // Cooldown in milliseconds
private long lastThemeChangeTime = 0;

Expand Down

0 comments on commit 99b06ca

Please sign in to comment.