perf -> performance
This commit is contained in:
parent
4761de9d28
commit
d4d8961eff
2 changed files with 6 additions and 6 deletions
12
src/tui.zig
12
src/tui.zig
|
|
@ -16,7 +16,7 @@ const theme = @import("tui/theme.zig");
|
|||
const chart = @import("tui/chart.zig");
|
||||
const portfolio_tab = @import("tui/portfolio_tab.zig");
|
||||
const quote_tab = @import("tui/quote_tab.zig");
|
||||
const perf_tab = @import("tui/perf_tab.zig");
|
||||
const performance_tab = @import("tui/performance_tab.zig");
|
||||
const options_tab = @import("tui/options_tab.zig");
|
||||
const earnings_tab = @import("tui/earnings_tab.zig");
|
||||
const analysis_tab = @import("tui/analysis_tab.zig");
|
||||
|
|
@ -316,7 +316,7 @@ pub const TabStates = struct {
|
|||
earnings: earnings_tab.State = .{},
|
||||
analysis: analysis_tab.State = .{},
|
||||
quote: quote_tab.State = .{},
|
||||
performance: perf_tab.State = .{},
|
||||
performance: performance_tab.State = .{},
|
||||
options: options_tab.State = .{},
|
||||
};
|
||||
|
||||
|
|
@ -352,7 +352,7 @@ const tab_modules = .{
|
|||
.earnings = earnings_tab,
|
||||
.analysis = analysis_tab,
|
||||
.quote = quote_tab,
|
||||
.performance = perf_tab,
|
||||
.performance = performance_tab,
|
||||
.options = options_tab,
|
||||
};
|
||||
|
||||
|
|
@ -1904,7 +1904,7 @@ pub const App = struct {
|
|||
},
|
||||
.quote, .performance => {
|
||||
if (self.symbol.len == 0) return;
|
||||
perf_tab.tab.activate(&self.states.performance, self) catch {};
|
||||
performance_tab.tab.activate(&self.states.performance, self) catch {};
|
||||
},
|
||||
.earnings => {
|
||||
if (self.symbol.len == 0) return;
|
||||
|
|
@ -2250,7 +2250,7 @@ pub const App = struct {
|
|||
// ── Performance tab ──────────────────────────────────────────
|
||||
|
||||
fn buildPerfStyledLines(self: *App, arena: std.mem.Allocator) ![]const StyledLine {
|
||||
return perf_tab.buildStyledLines(self, arena);
|
||||
return performance_tab.buildStyledLines(self, arena);
|
||||
}
|
||||
|
||||
// ── Earnings tab ─────────────────────────────────────────────
|
||||
|
|
@ -2493,7 +2493,7 @@ comptime {
|
|||
_ = theme;
|
||||
_ = portfolio_tab;
|
||||
_ = quote_tab;
|
||||
_ = perf_tab;
|
||||
_ = performance_tab;
|
||||
_ = options_tab;
|
||||
_ = earnings_tab;
|
||||
_ = analysis_tab;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue