mirror of
https://gitlab.com/neothefox/LayTray
synced 2026-03-23 21:54:54 +03:00
Removed unused code
This commit is contained in:
parent
0d63615d0d
commit
bc676caa5b
@ -110,7 +110,6 @@ implements SharedPreferences.OnSharedPreferenceChangeListener{
|
|||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
case 1: {
|
case 1: {
|
||||||
float baseline = -paint.ascent(); // ascent() is negative
|
|
||||||
int width = 48;
|
int width = 48;
|
||||||
int height = 48;
|
int height = 48;
|
||||||
Bitmap image = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
Bitmap image = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
||||||
@ -125,7 +124,6 @@ implements SharedPreferences.OnSharedPreferenceChangeListener{
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 2: {
|
case 2: {
|
||||||
float baseline = -paint.ascent(); // ascent() is negative
|
|
||||||
int width = 48;
|
int width = 48;
|
||||||
int height = 48;
|
int height = 48;
|
||||||
Bitmap image = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
Bitmap image = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user