This is an automated email from the ASF dual-hosted git repository.
hiedra pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 4d00d59ea6 FontAwesomeIcon, fix error: when applying faStyle when
including the value "6" to the variable "v" (version)
4d00d59ea6 is described below
commit 4d00d59ea65835cfbfc4d08eab8bcc0c9df8dcf4
Author: mjesteve <[email protected]>
AuthorDate: Sat May 18 00:56:13 2024 +0200
FontAwesomeIcon, fix error: when applying faStyle when including the value
"6" to the variable "v" (version)
---
.../Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
b/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
index a6605d5a03..9c798d9c2c 100644
---
a/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
+++
b/frameworks/projects/Icons/src/main/royale/org/apache/royale/icons/FontAwesomeIcon.as
@@ -93,7 +93,7 @@ package org.apache.royale.icons
{
removeClass('fa' + _oldFaStyle);
- if(v == 5)
+ if(v != 4)
addClass('fa' + _faStyle);
else
addClass('fa');