-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a brightness configuration setting for the Binary Clock
Someone using the Binary Clock by their bedside will likely prefer a dimmer screen than a person using it at their office desk. To accomodate both preferences, this commit adds a Settings screen with a slider to adjust the clock's brightness. The settings are accessible only via long pressing on the clock face in order to preserve the minimalist feel of the Binary Clock (a Toast is shown on app launch to inform the user of how to access the settings.) Improves #1 Closes #2
- Loading branch information
Showing
50 changed files
with
928 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"recommendations": [ | ||
"equimper.react-native-react-redux", | ||
"esbenp.prettier-vscode", | ||
"msjsdiag.vscode-react-native", | ||
"ms-vscode.vscode-typescript-next", | ||
"dbaeumer.vscode-eslint", | ||
"wix.glean" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Pressable" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+392 Bytes
(130%)
android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+183 Bytes
(110%)
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+241 Bytes
(130%)
android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+112 Bytes
(110%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+460 Bytes
(130%)
android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+223 Bytes
(110%)
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+744 Bytes
(130%)
android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+380 Bytes
(110%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1004 Bytes
(130%)
android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+528 Bytes
(110%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.64 KB
(120%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ios-marketing-1024@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+28 Bytes
(110%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-20@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+101 Bytes
(130%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-20@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+60 Bytes
(120%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-29@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+174 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-29@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+101 Bytes
(130%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-40@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+231 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-40@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+236 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-76@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+457 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-76@2x.png
Oops, something went wrong.
Binary file modified
BIN
+342 Bytes
(130%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/ipad-83.5@2x.png
Oops, something went wrong.
Binary file modified
BIN
+101 Bytes
(130%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-20@2x.png
Oops, something went wrong.
Binary file modified
BIN
+164 Bytes
(130%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-20@3x.png
Oops, something went wrong.
Binary file modified
BIN
+174 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-29@2x.png
Oops, something went wrong.
Binary file modified
BIN
+257 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-29@3x.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-40@2x.png
Oops, something went wrong.
Binary file modified
BIN
+353 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-40@3x.png
Oops, something went wrong.
Binary file modified
BIN
+353 Bytes
(140%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-60@2x.png
Oops, something went wrong.
Binary file modified
BIN
+498 Bytes
(130%)
ios/BinaryClock/Images.xcassets/AppIcon.appiconset/iphone-60@3x.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.