Skip to content

Commit

Permalink
[auth] Fix icons (#4524)
Browse files Browse the repository at this point in the history
## Description
- Update contract for Simple Icons:
simple-icons/simple-icons#12415

## Tests
- Tested manually on Simulator
  • Loading branch information
vishnukvmd authored Dec 27, 2024
2 parents 3de1c80 + cf4c20f commit 8a222d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions auth/lib/ui/utils/icon_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class IconUtils {
final simpleIconData = await rootBundle
.loadString('assets/simple-icons/_data/simple-icons.json');
final simpleIcons = json.decode(simpleIconData);
for (final icon in simpleIcons["icons"]) {
for (final icon in simpleIcons) {
_simpleIcons[icon["title"]
.toString()
.replaceAll(' ', '')
Expand All @@ -227,8 +227,8 @@ class IconUtils {
}
}
}
} catch (e) {
Logger("IconUtils").severe("Error loading icons", e);
} catch (e, s) {
Logger("IconUtils").severe("Error loading icons", e, s);
if (kDebugMode) {
rethrow;
}
Expand Down
2 changes: 1 addition & 1 deletion auth/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ente_auth
description: ente two-factor authenticator
version: 4.2.1+421
version: 4.2.2+422
publish_to: none

environment:
Expand Down

0 comments on commit 8a222d9

Please sign in to comment.