fix: bug
This commit is contained in:
parent
ab0bcc8721
commit
a74f52cc51
|
|
@ -41,7 +41,7 @@ const Toast = (function () {
|
||||||
// insets = staticInsets
|
// insets = staticInsets
|
||||||
// })
|
// })
|
||||||
|
|
||||||
let toastTimer: number | null = null
|
let toastTimer: ReturnType<typeof setTimeout> | null = null
|
||||||
const show = (params?: ShowParams): void => {
|
const show = (params?: ShowParams): void => {
|
||||||
const { renderContent, title, duration = 2000, hideBackdrop = true } = params || {}
|
const { renderContent, title, duration = 2000, hideBackdrop = true } = params || {}
|
||||||
hide()
|
hide()
|
||||||
|
|
@ -90,7 +90,7 @@ const Toast = (function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
// loading
|
// loading
|
||||||
let loadingTimer: number | null = null
|
let loadingTimer: ReturnType<typeof setTimeout> | null = null
|
||||||
const showLoading = (params?: ShowParams): void => {
|
const showLoading = (params?: ShowParams): void => {
|
||||||
const { renderContent, title, duration = 1500, hideBackdrop = false } = params || {}
|
const { renderContent, title, duration = 1500, hideBackdrop = false } = params || {}
|
||||||
hideLoading()
|
hideLoading()
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,10 @@
|
||||||
"name": "expo-duooomi-app",
|
"name": "expo-duooomi-app",
|
||||||
"main": "expo-router/entry",
|
"main": "expo-router/entry",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"packageManager": "bun@1.3.3",
|
"packageManager": "bun@1.3.5",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"claude": "claude --dangerously-skip-permissions",
|
||||||
"start": "dotenv -e .env.development -- expo start",
|
"start": "dotenv -e .env.development -- expo start",
|
||||||
"start:test": "dotenv -e .env.test -- expo start",
|
"start:test": "dotenv -e .env.test -- expo start",
|
||||||
"start:prod": "dotenv -e .env.production -- expo start",
|
"start:prod": "dotenv -e .env.production -- expo start",
|
||||||
|
|
@ -31,8 +32,8 @@
|
||||||
"export:icp:ios:skip": "bun run scripts/export-icp-source.ts --platform ios --skip-prebuild"
|
"export:icp:ios:skip": "bun run scripts/export-icp-source.ts --platform ios --skip-prebuild"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@repo/core": "0.0.1",
|
"@repo/core": "1.0.1",
|
||||||
"@repo/sdk": "0.0.1",
|
"@repo/sdk": "1.0.1",
|
||||||
"@better-auth/expo": "^1.4.5",
|
"@better-auth/expo": "^1.4.5",
|
||||||
"@expo/vector-icons": "^15.0.3",
|
"@expo/vector-icons": "^15.0.3",
|
||||||
"@react-native-async-storage/async-storage": "^2.2.0",
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue