Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New App Icon #164

Merged
merged 5 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ android {
minSdk = 29
targetSdk = 34

versionCode = 5
versionName = "1.3.1"
versionCode = 6
versionName = "1.3.2"

buildConfigField("boolean", "GOLD", "false")
val iconValue = "@mipmap/ic_launcher"
Expand Down
Binary file modified app/src/main/ic_launcher-playstore.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 app/src/main/ic_launcher_gold-playstore.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 added app/src/main/ic_mono-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class NotificationHelper(private val context: Context) {
return NotificationCompat.Builder(context, CHANNEL_ID)
.setContentTitle(context.getString(R.string.app_name))
.setContentText(content)
.setSmallIcon(R.drawable.icon_mono_foreground)
.setSmallIcon(R.drawable.ic_notification)
.setPriority(NotificationCompat.PRIORITY_MIN)
.setAutoCancel(false)
.setOngoing(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ fun BBCodeText(
failure = {
Icon(Icons.Filled.QuestionMark, null)
},
previewPlaceholder = painterResource(R.drawable.icon_mono_foreground),
previewPlaceholder = painterResource(R.drawable.ic_logo_color),
)
},
),
Expand Down Expand Up @@ -343,7 +343,7 @@ fun BBCodeText(
failure = {
Icon(Icons.Filled.QuestionMark, null)
},
previewPlaceholder = painterResource(R.drawable.icon_mono_foreground),
previewPlaceholder = painterResource(R.drawable.ic_logo_color),
)
},
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ fun EmoteTable(
failure = {
Icon(Icons.Filled.QuestionMark, null)
},
previewPlaceholder = painterResource(R.drawable.icon_mono_foreground),
previewPlaceholder = painterResource(R.drawable.ic_logo_color),
)
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ private fun ProfileDetailsScreen(
),
loading = { CircularProgressIndicator() },
failure = { Icon(Icons.Filled.QuestionMark, null) },
previewPlaceholder = painterResource(R.drawable.icon_mono_foreground),
previewPlaceholder = painterResource(R.drawable.ic_logo_color),
)

Spacer(modifier = Modifier.height(24.dp))
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/OxGames/Pluvia/ui/util/Images.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal fun ListItemImage(
failure = {
Icon(Icons.Filled.QuestionMark, null)
},
previewPlaceholder = painterResource(R.drawable.icon_mono_foreground),
previewPlaceholder = painterResource(R.drawable.ic_logo_color),
)
}

Expand All @@ -59,7 +59,7 @@ fun EmoticonImage(
failure = {
Icon(Icons.Filled.QuestionMark, null)
},
previewPlaceholder = painterResource(R.drawable.icon_mono_foreground),
previewPlaceholder = painterResource(R.drawable.ic_logo_color),
)
}

Expand Down
15 changes: 15 additions & 0 deletions app/src/main/res/drawable-anydpi/ic_notification.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="45.479"
android:viewportHeight="67.733"
android:tint="#FFFFFF">
<group android:scaleX="0.6177225"
android:scaleY="0.92"
android:translateX="8.6928"
android:translateY="2.70932">
<path
android:pathData="m22.727,-0c-0.293,0 -0.567,0.275 -1.878,1.886 -12.583,15.461 -19.562,28.909 -20.755,39.992 -0.149,1.387 -0.112,5.851 0.051,6.226 0.115,0.263 1.908,1.371 3.168,1.958 1.219,0.567 2.471,0.964 3.524,1.116 2.962,0.427 5.93,-0.501 9.551,-2.987 0.696,-0.478 2.505,-1.872 4.019,-3.099 3.155,-2.555 5.112,-4.034 6.305,-4.763 6.044,-3.693 10.566,-3.012 17.622,2.656l1.144,0.919l0,-0.533c0,-0.751 -0.325,-3.265 -0.611,-4.73 -2.013,-10.297 -8.906,-22.8 -20.263,-36.755 -1.31,-1.61 -1.585,-1.886 -1.878,-1.886zM22.727,3.091c0.247,0 4.841,5.957 7.248,9.397 6.37,9.105 10.611,17.569 12.358,24.662 0.234,0.949 0.425,1.79 0.425,1.871 0,0.08 -0.626,-0.273 -1.391,-0.786 -5.429,-3.639 -9.791,-3.682 -15.178,-0.148 -1.361,0.893 -2.425,1.706 -5.502,4.208 -4.93,4.007 -6.993,5.273 -9.892,6.068 -0.855,0.235 -3.091,0.395 -3.833,0.275 -1.831,-0.296 -4.677,-1.446 -4.81,-1.943 -0.039,-0.146 -0.072,-0.962 -0.073,-1.814 -0.009,-8.685 4.587,-19.796 13.4,-32.393 2.407,-3.44 7.002,-9.397 7.248,-9.397zM33.9,40.958c-1.776,-0.035 -3.546,0.411 -5.423,1.325 -1.842,0.897 -3.449,2.028 -7.484,5.266 -2.004,1.609 -4.257,3.334 -5.005,3.833 -3.768,2.515 -7.006,3.297 -10.25,2.474 -1.187,-0.301 -3.031,-1.096 -4.174,-1.799 -0.329,-0.203 -0.599,-0.344 -0.599,-0.315 0,0.029 0.146,0.46 0.324,0.957 1.216,3.39 3.696,7.007 6.432,9.381 3.587,3.112 8.163,5.101 12.752,5.544 4.357,0.42 8.51,-0.359 12.456,-2.337 6.321,-3.169 10.925,-9.234 12.163,-16.024 0.423,-2.318 0.424,-2.354 0.109,-2.65 -0.526,-0.495 -3.123,-2.434 -4.174,-3.117 -2.549,-1.655 -4.843,-2.493 -7.127,-2.537z"
android:fillColor="#ffffff"/>
</group>
</vector>
Binary file added app/src/main/res/drawable-hdpi/ic_notification.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 added app/src/main/res/drawable-mdpi/ic_notification.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 added app/src/main/res/drawable-xhdpi/ic_notification.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.
Loading