mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
Changing macos systray icon file format from .eps to .png resolves a
crash on startup when loading systray in macos14.
This commit is contained in:
parent
1f4428b6a7
commit
8b7032d9f6
@ -94,7 +94,7 @@ Future<OathCode?> _calculateCode(
|
|||||||
|
|
||||||
String _getIcon() {
|
String _getIcon() {
|
||||||
if (Platform.isMacOS) {
|
if (Platform.isMacOS) {
|
||||||
return 'resources/icons/systray-template.eps';
|
return 'resources/icons/systray-template.png';
|
||||||
}
|
}
|
||||||
if (Platform.isWindows) {
|
if (Platform.isWindows) {
|
||||||
return 'resources/icons/com.yubico.yubioath.ico';
|
return 'resources/icons/com.yubico.yubioath.ico';
|
||||||
|
BIN
resources/icons/systray-template.png
Normal file
BIN
resources/icons/systray-template.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
Loading…
Reference in New Issue
Block a user