-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Remove pull to refresh indicator (#1448)
* feat: Remove pull to refresh indicator Removed indicator in iOS for pull to refresh Added constants and comments Removed unused nav list icon * fixed typo
- Loading branch information
Showing
9 changed files
with
106 additions
and
29 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
components/ConversationFlashList/ConversationFlashList.constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Platform } from "react-native"; | ||
|
||
// iOS has it's own bounce and search bar, so we need to set a different threshold | ||
// Android does not have a bounce, so this will never really get hit. | ||
export const CONVERSATION_FLASH_LIST_REFRESH_THRESHOLD = | ||
Platform.OS === "ios" ? -190 : 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Platform } from "react-native"; | ||
|
||
// On iOS the list has a bounce, so we need to set a different threshold | ||
// to trigger the refresh. | ||
export const CONVERSATION_LIST_REFRESH_THRESHOLD = | ||
Platform.OS === "ios" ? -120 : 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters