fix: minor UI and UX fixes

This commit is contained in:
Alberto Ponces
2022-08-17 13:18:08 +01:00
parent 165bd4aec2
commit 3a63f63a3c
4 changed files with 15 additions and 24 deletions

View File

@ -36,8 +36,8 @@ class PatchedApplication {
Map toJson() => _$PatchedApplicationToJson(this);
static Uint8List bytesFromString(String pictureUrl) =>
Uint8List.fromList(pictureUrl.codeUnits);
static Uint8List bytesFromString(String icon) =>
Uint8List.fromList(icon.codeUnits);
static String bytesToString(Uint8List bytes) => String.fromCharCodes(bytes);
}