Update buttons layout in Guide Menu with TV layout (#492)

This commit is contained in:
redphx
2024-09-05 06:34:30 +07:00
parent 821904066b
commit a45d0f8b98
3 changed files with 20 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ export class GuideMenu {
closeApp: AppInterface && createButton({
icon: BxIcon.POWER,
label: t('close-app'),
title: t('close-app'),
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE | ButtonStyle.DANGER,
onClick: e => {
@@ -41,6 +42,7 @@ export class GuideMenu {
reloadPage: createButton({
icon: BxIcon.REFRESH,
label: t('reload-page'),
title: t('reload-page'),
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE,
onClick: e => {
@@ -57,6 +59,7 @@ export class GuideMenu {
backToHome: createButton({
icon: BxIcon.HOME,
label: t('back-to-home'),
title: t('back-to-home'),
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE,
onClick: e => {