Switch fx mode based on platform main too

This commit is contained in:
Agus Zubiaga 2024-10-16 15:30:49 -03:00
parent 2c8571537e
commit b80f44738f
No known key found for this signature in database
4 changed files with 19 additions and 15 deletions

View file

@ -386,7 +386,14 @@ impl IdentSuffix {
}
}
pub fn is_suffixed(&self) -> bool {
pub fn is_none(&self) -> bool {
match self {
IdentSuffix::None => true,
IdentSuffix::Bang => false,
}
}
pub fn is_bang(&self) -> bool {
match self {
IdentSuffix::None => false,
IdentSuffix::Bang => true,