Skip to content

Commit 5dbaf3f

Browse files
committed
add icon
1 parent a2b5a03 commit 5dbaf3f

17 files changed

Lines changed: 4 additions & 10 deletions

File tree

composeApp/src/androidMain/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414

1515
<application
1616
android:allowBackup="true"
17-
android:icon="@mipmap/ic_launcher"
17+
android:icon="@drawable/grid"
1818
android:hardwareAccelerated="true"
1919
android:label="@string/app_name"
20-
android:roundIcon="@mipmap/ic_launcher_round"
2120
android:supportsRtl="true"
2221
android:theme="@android:style/Theme.Material.Light.NoActionBar">
2322
<activity

composeApp/src/androidMain/kotlin/neth/iecal/trease/AppIntroActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fun AppIntroScreen() {
5757
IntroPage(
5858
title = "Trease",
5959
description = "Trease helps you focus",
60-
painter = painterResource(R.drawable.ic_launcher_foreground),
60+
painter = painterResource(R.drawable.grid),
6161
backgroundColor = Color(0xFF24623C),
6262
contentColor = Color.White,
6363
onNext = { true }

composeApp/src/androidMain/kotlin/neth/iecal/trease/services/AppBlockerService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ class AppBlockerService : Service() {
253253
return NotificationCompat.Builder(this, NOTIF_CHANNEL_ID)
254254
.setContentTitle("Trease Deep Focus")
255255
.setContentText("Initializing...")
256-
.setSmallIcon(R.drawable.ic_launcher_foreground)
256+
.setSmallIcon(R.drawable.grid)
257257
.setPriority(NotificationCompat.PRIORITY_LOW)
258258
.setOngoing(true)
259259
.setOnlyAlertOnce(true)
15.3 KB
Loading

composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml renamed to composeApp/src/androidMain/res/drawable/ic_launcher.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
4-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
4+
<foreground android:drawable="@drawable/grid" />
55
</adaptive-icon>

composeApp/src/androidMain/res/drawable-v24/ic_launcher_foreground.xml renamed to composeApp/src/androidMain/res/drawable/ic_launcher_foreground.xml

File renamed without changes.

composeApp/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.
-3.51 KB
Binary file not shown.
-5.21 KB
Binary file not shown.
-2.57 KB
Binary file not shown.

0 commit comments

Comments
 (0)