Skip to content

Commit ec1e94f

Browse files
committed
feat: Add adaptive themed icon and bump version
This commit introduces an adaptive themed icon for the app, ensuring it integrates better with modern Android system UIs. The icon's foreground and background colors have been updated, and a monochrome drawable has been added for theming support. Additionally, the path for `RoutineActivationReceiver` has been corrected in the `AndroidManifest.xml`. The app's version has been bumped to `2.0.4`. Signed-off-by: Pranav Purwar <purwarpranav80@gmail.com>
1 parent 5b8aa73 commit ec1e94f

6 files changed

Lines changed: 10 additions & 6 deletions

File tree

Reef/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ android {
1313
applicationId = "dev.pranav.reef"
1414
minSdk = 26
1515
targetSdk = 36
16-
versionCode = 203
17-
versionName = "2.0.3"
16+
versionCode = 204
17+
versionName = "2.0.4"
1818
}
1919

2020
viewBinding.enable = true

Reef/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
</receiver>
116116

117117
<receiver
118-
android:name=".util.RoutineActivationReceiver"
118+
android:name=".routine.RoutineActivationReceiver"
119119
android:exported="false" />
120120

121121
</application>

Reef/src/main/res/drawable/ic_launcher_foreground.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
android:translateX="6.432"
1010
android:translateY="6.432">
1111
<path
12-
android:fillColor="@android:color/white"
12+
android:fillColor="#b7c1e2"
1313
android:pathData="M16,22c1.1,0 2,-0.9 2,-2l-0.01,-3.18c0,-0.53 -0.21,-1.03 -0.58,-1.41L14,12l3.41,-3.43c0.37,-0.37 0.58,-0.88 0.58,-1.41L18,4c0,-1.1 -0.9,-2 -2,-2H8C6.9,2 6,2.9 6,4v3.16C6,7.69 6.21,8.2 6.58,8.58L10,12l-3.41,3.4C6.21,15.78 6,16.29 6,16.82V20c0,1.1 0.9,2 2,2H16zM8,7.09V5c0,-0.55 0.45,-1 1,-1h6c0.55,0 1,0.45 1,1v2.09c0,0.27 -0.11,0.52 -0.29,0.71L12,11.5L8.29,7.79C8.11,7.61 8,7.35 8,7.09z" />
1414
</group>
1515
</vector>

Reef/src/main/res/mipmap-anydpi/ic_launcher.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/ic_launcher_background" />
3+
<background android:drawable="@android:color/black" />
44
<foreground android:drawable="@drawable/ic_launcher_foreground" />
55
<mask android:drawable="@drawable/ic_launcher_foreground" />
66
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<color name="ic_launcher_background">#5C3A97</color>
4+
<color name="ic_launcher_background">#653ed8</color>
55

66
</resources>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
More accurate usage stats
2+
Fix wrong routine blocks (#20)
3+
Improve limits mechanism
4+
Adaptive Themed Icon

0 commit comments

Comments
 (0)