Skip to content

Commit

Permalink
Add init value for persona large portrait (#290)
Browse files Browse the repository at this point in the history
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?

# Description
It seems I missed this in previous pull request..
  • Loading branch information
kwaroran authored Feb 13, 2024
2 parents 54e1972 + f6ba77f commit f3a1951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ts/storage/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ export function setDatabase(data:Database){
data.personas ??= [{
name: data.username,
personaPrompt: "",
icon: data.userIcon
icon: data.userIcon,
largePortrait: false
}]
data.classicMaxWidth ??= false
data.ooba ??= cloneDeep(defaultOoba)
Expand Down

0 comments on commit f3a1951

Please sign in to comment.