fix: タブバーのアニメーションとキーボード非表示設定を削除
fix: JRSTraInfoコンポーネントの初期データ読み込み処理をuseEffectで追加
This commit is contained in:
2
Apps.tsx
2
Apps.tsx
@@ -136,8 +136,6 @@ export function AppContainer() {
|
||||
const defaultInactive = isDark ? "#8e8e93" : "#8e8e93";
|
||||
return {
|
||||
lazy: false,
|
||||
tabBarHideOnKeyboard: Platform.OS === "android",
|
||||
animation: Platform.OS === "ios" ? "none" : "shift",
|
||||
sceneContainerStyle: { backgroundColor: defaultBg },
|
||||
tabBarActiveTintColor: (showGradient || isExtraWindowOpen) ? "white" : defaultActive,
|
||||
tabBarInactiveTintColor: (showGradient || isExtraWindowOpen) ? "rgba(255,255,255,0.75)" : defaultInactive,
|
||||
|
||||
@@ -36,6 +36,10 @@ export const JRSTraInfo = () => {
|
||||
const maxHeight = useSheetMaxHeight();
|
||||
const viewShot = useRef(null);
|
||||
|
||||
useEffect(() => {
|
||||
setLoadingDelayData(true);
|
||||
}, []);
|
||||
|
||||
const onCapture = async () => {
|
||||
const url = await viewShot.current.capture();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user