fix(app): retain Explorer tab state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user