Skip to content

Commit

Permalink
feat(demo): fix play/pause icons, add eur and gbp currency (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfriesen authored Jan 3, 2021
1 parent 4a7ab15 commit 360a3b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class TuiMediaExample2 {
paused = true;

get icon(): string {
return this.paused ? 'tuiIconPlay2Large' : 'tuiIconPause2Large';
return this.paused ? 'tuiIconPlayLarge' : 'tuiIconPauseLarge';
}

getTime(time: number): string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class TuiMediaExample3 {
paused = true;

get icon(): string {
return this.paused ? 'tuiIconPlay2Large' : 'tuiIconPause2Large';
return this.paused ? 'tuiIconPlayLarge' : 'tuiIconPauseLarge';
}

toggleState() {
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/modules/utils/format/examples/3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {encapsulation} from '../../../../../view-encapsulation';
encapsulation,
})
export class TuiFormatExample3 {
readonly items = ['USD', 'RUB', '643', 'KZT', '051', 'KRW', 'CHF'];
readonly items = ['USD', 'RUB', '643', 'KZT', '051', 'KRW', 'CHF', 'EUR', 'GBP'];

parametersForm = new FormGroup({
currency: new FormControl(null),
Expand Down

0 comments on commit 360a3b1

Please sign in to comment.