Skip to content

Commit

Permalink
Update EditInfoModal.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Palloxin authored Oct 10, 2024
1 parent 0895d9e commit 6eb67d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/screens/novel/components/EditInfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const EditInfoModal = ({
</View>
<TextInput
defaultValue={initialNovelInfo.name}
defaultValue={novelInfo.name}
value={novelInfo.name}
placeholder={getString('novelScreen.edit.title', {
title: novel.name,
})}
Expand All @@ -132,7 +132,7 @@ const EditInfoModal = ({
/>
<TextInput
defaultValue={initialNovelInfo.author}
defaultValue={novelInfo.author}
value={novelInfo.author}
placeholder={getString('novelScreen.edit.author', {
author: novel.author,
})}
Expand All @@ -145,7 +145,7 @@ const EditInfoModal = ({
/>
<TextInput
defaultValue={initialNovelInfo.artist}
defaultValue={novelInfo.artist}
value={novelInfo.artist}
placeholder={'Artist: ' + novel.artist}
numberOfLines={1}
mode="outlined"
Expand All @@ -156,7 +156,7 @@ const EditInfoModal = ({
/>
<TextInput
defaultValue={initialNovelInfo.summary}
defaultValue={novelInfo.summary}
value={novelInfo.summary}
placeholder={getString('novelScreen.edit.summary', {
summary: novel.summary?.substring(0, 16),
})}
Expand Down

0 comments on commit 6eb67d2

Please sign in to comment.