Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDragonXD authored Sep 11, 2024
1 parent ae64961 commit f028993
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import android.graphics.Bitmap
import androidx.core.graphics.drawable.toBitmap
import app.lawnchair.lawnicons.R

fun Context.appIcon(): Bitmap = (this.resources.getDrawable(R.mipmap.ic_launcher, this.theme)
?: packageManager.getApplicationIcon(packageName))
fun Context.appIcon(): Bitmap = (
this.resources.getDrawable(R.mipmap.ic_launcher, this.theme)
?: packageManager.getApplicationIcon(packageName)
)
.toBitmap()

0 comments on commit f028993

Please sign in to comment.