don't write pronouns in birthday

trunk
aoife cassidy 2025-01-19 15:29:07 +02:00
parent 0adaf9e90c
commit c78ecb1120
No known key found for this signature in database
GPG Key ID: 7184AC1C9835CE48
1 changed files with 2 additions and 2 deletions

View File

@ -36,10 +36,10 @@ func (view *Settings) Event(state *ui.State, event vaxis.Event) (processed bool)
// XXX: this assumes nothing will break // XXX: this assumes nothing will break
if pronouns != "" { if pronouns != "" {
os.WriteFile(".pronouns", []byte(pronouns), 0644) os.WriteFile(".pronouns", []byte(pronouns+"\n"), 0644)
} }
if birthday != "" { if birthday != "" {
os.WriteFile(".birthday", []byte(pronouns), 0644) os.WriteFile(".birthday", []byte(birthday+"\n"), 0644)
} }
if timezone != "" { if timezone != "" {
f, _ := os.OpenFile(".bashrc", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) f, _ := os.OpenFile(".bashrc", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)