Skip to content

Commit

Permalink
storage?.inputs?.logLength
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelix1 authored Feb 8, 2024
1 parent 78f3f7d commit c823893
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/antied/pages/log.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@ export default () => {
{
(edited?.length > 0) ? (<>
<Text style={[styles.main_text, styles.old_message]}>
{shortenString(content, 20)}
{shortenString(content, storage?.inputs?.logLength)}
</Text>
<Text style={[styles.main_text, styles.message_content]}>
{shortenString(edited, 20)}
{shortenString(edited, storage?.inputs?.logLength)}
</Text>
</>) :
(<Text style={styles.message_content}>
{shortenString(content, 20)}
{shortenString(content, storage?.inputs?.logLength)}
</Text>
)
}
Expand Down

0 comments on commit c823893

Please sign in to comment.