Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
apps
/
mobile
/
src
/
native
/
sheet-surface.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
6 lines
290 Bytes
Copy permalink
Copy
Raw
1
import
{
Platform
}
from
"
react-native
"
;
2
3
export
function
formSheetDetents
(
initialDetent
:
number
,
androidExpandedDetent
=
0.92
)
{
4
// Duo moves the status bar above the sheet only at the maximum native detent.
5
return
[
initialDetent
,
Platform
.
OS
===
"
ios
"
?
1
:
androidExpandedDetent
];
6
}