Use pause and resume icons instead of the clock icon

This commit is contained in:
Felipe Knorr Kuhn 2026-04-05 17:58:33 +09:00
parent 885694a015
commit 5c4db003ec
No known key found for this signature in database
GPG key ID: 79619B52BB097C1A
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,7 @@
</button>
</div>
<button class="btn btn-primary btn-sm btn-pause" [class.active]="isPaused" (click)="togglePause()" title="Pause/Resume" i18n-title="recent-transactions.pause-toggle.title|Tooltip for the pause/resume updates button" aria-label="Pause/Resume" i18n-aria-label="recent-transactions.pause-toggle.aria-label|Accessible label for the pause/resume updates button" data-cy="btn-pause">
<fa-icon [icon]="['fas', 'clock']" [fixedWidth]="true"></fa-icon>
<fa-icon [icon]="['fas', isPaused ? 'play' : 'pause']" [fixedWidth]="true"></fa-icon>
</button>
</div>
</div>

View file

@ -9,7 +9,7 @@ import { faFilter, faAngleDown, faAngleUp, faAngleRight, faAngleLeft, faBolt, fa
faCircleCheck, faUserCircle, faCheck, faRocket, faScaleBalanced, faHourglassStart, faHourglassHalf, faHourglassEnd, faWandMagicSparkles, faTimeline,
faCircleXmark, faCalendarCheck, faMoneyBillTrendUp, faRobot, faShareNodes, faCreditCard, faMicroscope, faExclamationTriangle, faLockOpen, faPaperclip, faAddressCard,
faMedal, faBug, faFilePdf, faPiggyBank, faLayerGroup, faHeart, faCashRegister, faCodeFork, faCode,
faCalendar} from '@fortawesome/free-solid-svg-icons';
faCalendar, faPause, faPlay} from '@fortawesome/free-solid-svg-icons';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
import { MenuComponent } from '@components/menu/menu.component';
import { PreviewTitleComponent } from '@components/master-page-preview/preview-title.component';
@ -496,5 +496,7 @@ export class SharedModule {
library.addIcons(faCashRegister);
library.addIcons(faCodeFork);
library.addIcons(faCode);
library.addIcons(faPause);
library.addIcons(faPlay);
}
}