Add Supa account and search changes

This commit is contained in:
Fabian Freund
2026-05-22 18:10:22 +02:00
parent 3a19865b2e
commit 51289f1266
374 changed files with 54061 additions and 5013 deletions
@@ -31,15 +31,18 @@ class BrowserIcon with FastEquatable {
final Color? dominantColor;
final IconSource source;
static Future<BrowserIcon> fromBytes(
static Future<BrowserIcon?> fromBytes(
Uint8List bytes, {
required Color? dominantColor,
required IconSource source,
}) async {
final image = await tryDecodeImage(bytes);
if (image == null) {
return null;
}
return BrowserIcon(
image: image!,
image: image,
dominantColor: dominantColor,
source: source,
);