Skip to content

Commit

Permalink
fix: getShowActivityId
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge authored Dec 25, 2024
1 parent b29fd1a commit 36b90d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/kotlin/li/songe/gkd/util/Others.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ fun Bitmap.isEmptyBitmap(): Boolean {

class InterruptRuleMatchException() : Exception()

fun getShowActivityId(appId: String, activityId: String?) {
if (activityId != null) {
fun getShowActivityId(appId: String, activityId: String?): String? {
return if (activityId != null) {
if (activityId.startsWith(appId) && activityId.getOrNull(appId.length) == '.') {
activityId.substring(appId.length)
} else {
Expand Down

0 comments on commit 36b90d2

Please sign in to comment.