Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Font library import error: Expecting member declaration #618

Closed
mohammadnouripoor opened this issue Mar 27, 2022 · 2 comments
Closed

Comments

@mohammadnouripoor
Copy link

Hi, I'm trying to import my custom font icon with android-iconics.mikepenz.com but when add the generated lib as module in android studio. Kotlin Class showing me an error on enum: Expecting member declaration.
Can you please help me with that?
Screenshot (5)

@saeed74
Copy link

saeed74 commented Mar 27, 2022

removing : will fix this.
so pho_activity:('\uf230') must be pho_activity('\uf230') for example.

@mikepenz
Copy link
Owner

@mohammadnouripoor sadly some of the more recent icon fonts have a different css format which can cause the above problem.

Please follow and remove the : as outlined by @saeed74 (thanks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants