Skip to content

Commit

Permalink
refactor(modal): remove loading screen and enhance modal functionality
Browse files Browse the repository at this point in the history
- Removed the loading screen component to streamline the modal navigation.
- Updated modal-related imports in the debug and add screens to include Modal.
- Adjusted screen options in the modal layout for improved presentation.

These changes simplify the modal structure and improve the overall user experience.

Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Jan 2, 2025
1 parent c7f64e8 commit 92ec05e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions apps/mobile/src/screens/(modal)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ export default function ModalLayout() {
title: "RSSHub Form",
}}
/>
<Stack.Screen
name="loading"
options={{ presentation: "transparentModal", headerShown: false, animation: "fade" }}
/>
</Stack>
)
}
1 change: 0 additions & 1 deletion apps/mobile/src/screens/(modal)/add.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export default function Add() {
options={{
gestureEnabled: !url,
headerLeft: ModalHeaderCloseButton,
presentation: "modal",
headerRight: () => (
<TouchableOpacity
onPress={() => {
Expand Down
12 changes: 0 additions & 12 deletions apps/mobile/src/screens/(modal)/loading.tsx

This file was deleted.

0 comments on commit 92ec05e

Please sign in to comment.