Skip to content

Commit

Permalink
refactor: support Kotlin 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fankes committed Jun 20, 2024
1 parent 46abe6a commit ad0a538
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ object IconRuleManagerTool {
notifyRefresh(context)
callback()
}
else -> (if (context is AppCompatActivity) context.snake(msg = "列表数据已是最新"))
else -> (if (context is AppCompatActivity) context.snake(msg = "列表数据已是最新") else Unit)
}
}
context is AppCompatActivity ->
Expand Down Expand Up @@ -298,7 +298,7 @@ object IconRuleManagerTool {
notifyRefresh(context)
callback()
}
else -> (if (context is AppCompatActivity) context.snake(msg = "列表数据已是最新"))
else -> (if (context is AppCompatActivity) context.snake(msg = "列表数据已是最新") else Unit)
}
context is AppCompatActivity ->
context.showDialog {
Expand Down

0 comments on commit ad0a538

Please sign in to comment.