File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ui/src/main/java/com/wireguard/android Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ class QuickTileService : TileService() {
88
88
val icon = SlashDrawable (resources.getDrawable(R .drawable.ic_tile, Application .get().theme))
89
89
icon.setAnimationEnabled(false ) /* Unfortunately we can't have animations, since Icons are marshaled. */
90
90
icon.setSlashed(false )
91
- var b = Bitmap .createBitmap(icon.intrinsicWidth, icon.intrinsicHeight, Bitmap .Config .ARGB_8888 ) ? : return
91
+ var b = Bitmap .createBitmap(icon.intrinsicWidth, icon.intrinsicHeight, Bitmap .Config .ARGB_8888 )
92
92
var c = Canvas (b)
93
93
icon.setBounds(0 , 0 , c.width, c.height)
94
94
icon.draw(c)
95
95
iconOn = Icon .createWithBitmap(b)
96
96
icon.setSlashed(true )
97
- b = Bitmap .createBitmap(icon.intrinsicWidth, icon.intrinsicHeight, Bitmap .Config .ARGB_8888 ) ? : return
97
+ b = Bitmap .createBitmap(icon.intrinsicWidth, icon.intrinsicHeight, Bitmap .Config .ARGB_8888 )
98
98
c = Canvas (b)
99
99
icon.setBounds(0 , 0 , c.width, c.height)
100
100
icon.draw(c)
You can’t perform that action at this time.
0 commit comments