Skip to content

Commit

Permalink
chore: deps: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Sep 7, 2023
1 parent 05dbff5 commit ff3515c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class NonNTMessageStyleNotification(private val parent: MessagingStyleNotificati
val builder = NotificationCompat.Builder(context, oldNotification)
.setContentTitle(null)
.setContentText(null)
.setLargeIcon(null)
.setLargeIcon(null as Bitmap?)
.setStyle(messageStyle)
if (isTroop == 1) {
builder.setLargeIcon(bitmap)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import android.app.NotificationChannelGroup
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Intent
import android.graphics.Bitmap
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.core.app.NotificationCompat
Expand Down Expand Up @@ -258,7 +259,7 @@ object MessagingStyleNotification : CommonSwitchFunctionHook(SyncUtils.PROC_ANY)
val builder = NotificationCompat.Builder(hostInfo.application, oldNotification)
.setContentTitle(mainName)
.setContentText(content)
.setLargeIcon(null)
.setLargeIcon(null as Bitmap?)
.setStyle(messageStyle)
.setChannelId(getChannelId(channelId))

Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ agp = "8.1.1"
appCenter = "5.0.2"
kotlin = "1.9.10"
ksp = "1.9.10-1.0.13"
lifecycle = "2.6.1"
lifecycle = "2.6.2"
materialDialog = "3.3.0"
sealedEnum = "0.7.0"

[libraries]
appcenter-analytics = { module = "com.microsoft.appcenter:appcenter-analytics", version.ref = "appCenter" }
appcenter-crashes = { module = "com.microsoft.appcenter:appcenter-crashes", version.ref = "appCenter" }
android-tools = { module = "com.android.tools.build:gradle", version.ref = "agp" }
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.6.0" }
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.7.0" }
androidx-browser = { module = "androidx.browser:browser", version = "1.6.0" }
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version = "2.1.4" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.10.1" }
eclipse-jgit = { module = "org.eclipse.jgit:org.eclipse.jgit", version = "6.6.0.202305301015-r" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.12.0" }
eclipse-jgit = { module = "org.eclipse.jgit:org.eclipse.jgit", version = "6.7.0.202309050840-r" }
hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "4.3" }
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlinpoet-ksp = { module = "com.squareup:kotlinpoet-ksp", version = "1.14.2"}
Expand Down
2 changes: 1 addition & 1 deletion libs/stub/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ android {

dependencies {
// androidx nullability stubs
compileOnly("androidx.annotation:annotation:1.6.0")
compileOnly("androidx.annotation:annotation:1.7.0")
}
}

0 comments on commit ff3515c

Please sign in to comment.