mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-09 18:48:51 -06:00
make LED blinking for notifications configurable
This commit is contained in:
@@ -159,6 +159,10 @@ public class PreferencesTest extends BaseUnitTest
|
||||
prefs.setNotificationsSticky(true);
|
||||
assertTrue(prefs.shouldMakeNotificationsSticky());
|
||||
|
||||
assertFalse(prefs.shouldMakeNotificationsLed());
|
||||
prefs.setNotificationsLed(true);
|
||||
assertTrue(prefs.shouldMakeNotificationsLed());
|
||||
|
||||
assertThat(prefs.getSnoozeInterval(), equalTo(15L));
|
||||
prefs.setSnoozeInterval(30);
|
||||
assertThat(prefs.getSnoozeInterval(), equalTo(30L));
|
||||
|
||||
Reference in New Issue
Block a user