╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │899 │ │900 // only the header's own row sits directly below the repository header. │ │901 pub fn atTop(self: *View) bool { │ │891 - return self.headerActive() or (!self.header().hasFocusable() and self.contentAtTop()); │ │902 + const focusable = if (self.header()) |header_view| header_view.hasFocusable() else false;│ │903 + return self.headerActive() or (!focusable and self.contentAtTop()); │ │904 } │ │905 │ │906 pub fn focusHeader(self: *View, root_focus: *Focus) bool { │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────╮ │895 - return self.header().focusHeader(root_focus); │ │907 + const header_view = self.header() orelse return false;│ │908 + return header_view.focusHeader(root_focus); │ │909 } │ │910 }; │ │911 │ ╰───────────────────────────────────────────────────────────────────╯