Move /platform/detection vars into /env (#9707)

* Add platform vars to env

* Replace /platform/detection with /env
This commit is contained in:
Eric Bailey
2026-01-16 16:28:17 -06:00
committed by GitHub
parent bd510d8468
commit 0589bd7d9e
244 changed files with 789 additions and 789 deletions
+4 -4
View File
@@ -89,9 +89,9 @@ export function ActionsWrapper({
: [a.ml_xs, {marginRight: 'auto'}],
]}>
<EmojiReactionPicker message={message} onEmojiSelect={onEmojiSelect}>
{({props, state, isNative, control}) => {
{({props, state, IS_NATIVE, control}) => {
// always false, file is platform split
if (isNative) return null
if (IS_NATIVE) return null
const showMenuTrigger = showActions || control.isOpen ? 1 : 0
return (
<Pressable
@@ -111,9 +111,9 @@ export function ActionsWrapper({
}}
</EmojiReactionPicker>
<MessageContextMenu message={message}>
{({props, state, isNative, control}) => {
{({props, state, IS_NATIVE, control}) => {
// always false, file is platform split
if (isNative) return null
if (IS_NATIVE) return null
const showMenuTrigger = showActions || control.isOpen ? 1 : 0
return (
<Pressable