Skip to content

Commit

Permalink
Merge pull request #141 from Mr-emeka/fix-country-icons
Browse files Browse the repository at this point in the history
fix: fixed country image bug in src/app/components/language-switcher/…
  • Loading branch information
mathkruger authored May 20, 2024
2 parents b2f6917 + b83e1b6 commit 4eede46
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
aria-expanded="false"
>
<img
src="https://www.countryflagicons.com/FLAT/32/{{
currentLang.flag
}}.png"
src="https://flagsapi.com/{{currentLang.flag}}/flat/32.png"
/>
<strong>{{ currentLang.name }}</strong>
</button>
Expand All @@ -25,9 +23,7 @@
[ngClass]="{ active: language.code === currentLang.code }"
>
<img
src="https://www.countryflagicons.com/FLAT/16/{{
language.flag
}}.png"
src="https://flagsapi.com/{{language.flag}}/flat/16.png"
/>
<span [ngClass]="{ 'rtl-custom': language.direction === 'rtl' }">
<strong>{{ language.name }}</strong>
Expand Down

0 comments on commit 4eede46

Please sign in to comment.