We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f899df2 commit ebb5a51Copy full SHA for ebb5a51
app/src/main/kotlin/li/songe/gkd/data/AppInfo.kt
@@ -60,7 +60,7 @@ fun PackageInfo.toAppInfo(
60
isSystem = applicationInfo?.let { it.flags and ApplicationInfo.FLAG_SYSTEM != 0 } ?: false,
61
name = applicationInfo?.run { loadLabel(app.packageManager).toString() } ?: packageName,
62
icon = applicationInfo?.loadIcon(app.packageManager)?.run {
63
- if (intrinsicHeight == 0 || intrinsicWidth == 0) {
+ if (intrinsicHeight <= 0 || intrinsicWidth <= 0) {
64
// https://github.com/gkd-kit/gkd/issues/924
65
null
66
} else {
0 commit comments