mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-06 05:57:59 -05:00
Fix white border in dark theme
This commit is contained in:
@@ -123,14 +123,14 @@ class BarcodeImageWriterTask extends AsyncTask<Void, Void, Bitmap>
|
||||
|
||||
for (int y = 0; y < bitMatrixHeight; y++)
|
||||
{
|
||||
if(enclosingRectangle != null && (y < top || y > bottom))
|
||||
if(enclosingRectangle != null && (y < top || y >= bottom))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
int offset = y * bitMatrixWidth;
|
||||
for (int x = 0; x < bitMatrixWidth; x++)
|
||||
{
|
||||
if(enclosingRectangle != null && (x < left || x > right))
|
||||
if(enclosingRectangle != null && (x < left || x >= right))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user