MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / restoreProfile

Method restoreProfile

internal/ui/components/header.go:180–182  ·  view source on GitHub ↗

restoreProfile simply restores the profile display without stopping loading.

()

Source from the content-addressed store, hash-verified

178
179// restoreProfile simply restores the profile display without stopping loading.
180func (h *Header) restoreProfile() {
181 h.SetText(h.formatProfileText(h.currentProfile))
182}
183
184// Add a helper to clear the header message after a delay.
185func (h *Header) clearMessageAfterDelay(delay time.Duration) {

Callers 1

Calls 2

SetTextMethod · 0.95
formatProfileTextMethod · 0.95

Tested by

no test coverage detected