Skip to content

Commit c983a05

Browse files
committed
Rename compact token count properties to shrink token count in context initialization
- when changing 'shrink' mode, token counts on badge are not updated
1 parent ddfaba2 commit c983a05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/editor/src/context/context-initialization.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ export const context_initialization = async (
131131
if (context_provider && context_view) {
132132
const token_counts =
133133
await workspace_provider.get_checked_files_token_count()
134-
const files_count = workspace_provider.use_compact_token_count
135-
? token_counts.compact
134+
const files_count = workspace_provider.use_shrink_token_count
135+
? token_counts.shrink
136136
: token_counts.total
137137
context_token_count = files_count
138138

0 commit comments

Comments
 (0)