fix(app): retain Explorer tab state

This commit is contained in:
Mohamed Boudra
2026-08-17 21:15:16 +02:00
parent b97993f866
commit a54b6c2020
3 changed files with 89 additions and 32 deletions
@@ -1,5 +1,12 @@
export const DEFAULT_IOS_KEYBOARD_INSET_MIN_HEIGHT = 120;
export function shouldUseCompactExplorerKeyboardPadding(input: {
isGit: boolean;
explorerTab: "changes" | "files" | "pr";
}): boolean {
return !input.isGit || input.explorerTab !== "changes";
}
export function resolveKeyboardShift(input: {
rawKeyboardHeight: number;
keyboardProgress: number;