feat(staging): added transfer for data from settings app(part 2)

This commit is contained in:
Savely Savianok
2024-12-21 18:51:28 +03:00
parent f21678b219
commit 3b2e4992a3
7 changed files with 98 additions and 77 deletions

View File

@@ -1,6 +1,6 @@
import { deleteWidget, prop } from "@zos/ui";
import { prop } from "@zos/ui";
import { TOTP } from "../../../lib/totp-quickjs";
import { RenderAddButton, RenderExpireBar, RenderOTPValue, RenderTOTPContainer } from '../totpRenderer'
import { RenderExpireBar, RenderOTPValue, RenderTOTPContainer } from '../totpRenderer'
/**
*

View File

@@ -12,6 +12,7 @@ const containerRadius = 20 //Corner radius of container
const textColor = 0xa0a0a0 //Color of TOTP description text
const textSize = 24 //Size of TOTP description text
const statusBarPading = 65
/** Function for render box container for TOTP values
*
@@ -112,4 +113,4 @@ export function RenderAddButton(pagePath) {
})
}
function getYPos(position) { return position * (buttonHeight + 10) }
function getYPos(position) { return position * (buttonHeight + 10) + statusBarPading }