ostp/ostp-flutter/lib/ui
ospab 7d9e5faeec fix(flutter): eagle watermark rendered as a flat gray square
assets/logo.png had NO real alpha transparency — both the background and
the eagle shape were fully opaque (A=255 everywhere), just baked in as
near-black (3,3,3) vs near-white (253,253,253) RGB. Applying `color:
Colors.white` to tint it painted the WHOLE bounding square white (alpha
being 255 across the entire image gives BlendMode nothing to mask against),
which at low Opacity looked like a flat gray square instead of a silhouette.

Converted the asset in place: since it was already grayscale (R=G=B), each
pixel's luminance became its new alpha channel, RGB set to pure white. The
background (near-black, low luminance) is now near-transparent; the eagle
(near-white, high luminance) is now near-opaque. This is the same effect the
desktop GUI gets for free from its logo.svg (a vector eagle path with no
background element at all — inherently transparent), just reproduced for a
raster asset without adding flutter_svg as a new dependency.

The `color: Colors.white` tint in both watermark call sites is now
redundant (the asset is already a pure-white silhouette) and removed.
2026-07-10 00:24:28 +03:00
..
app_routing_screen.dart feat: implement built-in DNS server, adblock and dns leak prevention 2026-06-07 19:55:42 +03:00
home_screen.dart fix(flutter): eagle watermark rendered as a flat gray square 2026-07-10 00:24:28 +03:00
logs_screen.dart feat: implement built-in DNS server, adblock and dns leak prevention 2026-06-07 19:55:42 +03:00
qr_scanner_screen.dart feat: implement built-in DNS server, adblock and dns leak prevention 2026-06-07 19:55:42 +03:00
settings_screen.dart fix(flutter): eagle watermark rendered as a flat gray square 2026-07-10 00:24:28 +03:00