Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(channels): revert to uncollapsed inputs (#3975)

Peter Chinman5cc791cf346b
diff --git a/js/app/packages/channel/Input/create-collapsed-input-state.ts b/js/app/packages/channel/Input/create-collapsed-input-state.ts
index aca3dec918..898ee50b1a 100644
--- a/js/app/packages/channel/Input/create-collapsed-input-state.ts
+++ b/js/app/packages/channel/Input/create-collapsed-input-state.ts
@@ -1,3 +1,4 @@
+import { isMobile } from '@core/mobile/isMobile';
import { pickNativePhotoLibraryMedia } from '@core/mobile/nativePhotoLibrary';
import { isPlatform } from '@core/util/platform';
import { type Accessor, createEffect, createSignal, on } from 'solid-js';
@@ -42,7 +43,7 @@ export function createCollapsedInputState(options: {
return {
/** Whether the collapsed stand-in renders instead of the real input. */
- isCollapsed: () => !isExpanded(),
+ isCollapsed: () => isMobile() && !isExpanded(),
expand: () => setIsExpanded(true),
collapse: () => setIsExpanded(false),
attach,
diff --git a/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist b/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist
index 8fb8bc894d..08f97fb041 100644
--- a/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist
+++ b/js/app/tauri/src-tauri/gen/apple/app_iOS/Info.plist
@@ -70,4 +70,4 @@
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
-</plist>
+</plist>
\ No newline at end of file