Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Aug 28, 2024
1 parent eab3bce commit 15ef866
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
32 changes: 18 additions & 14 deletions layouts/profile/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -730,13 +730,15 @@ async function renderFollowing(clear = true, cursor) {
label = `${formatLargeNumber(u.followers_count)} ${vars.modernUI ? LOC.followers.message : LOC.followers.message.toLowerCase()}`;
}
let usernameClass = '';
if(!u.status) {
usernameClass = 'user-indicator-no-status';
} else if(u.status) {
if(u.status.retweeted_status) {
usernameClass = 'user-indicator-retweeted';
} else if(u.status.quoted_status_id_str) {
usernameClass = 'user-indicator-quoted';
if(vars.showBoringIndicators) {
if(!u.status) {
usernameClass = 'user-indicator-no-status';
} else if(u.status) {
if(u.status.retweeted_status) {
usernameClass = 'user-indicator-retweeted';
} else if(u.status.quoted_status_id_str) {
usernameClass = 'user-indicator-quoted';
}
}
}
appendUser(u, userList, label, usernameClass);
Expand Down Expand Up @@ -1014,13 +1016,15 @@ async function renderFollowers(clear = true, cursor) {
label = `${formatLargeNumber(u.followers_count)} ${vars.modernUI ? LOC.followers.message : LOC.followers.message.toLowerCase()}`;
}
let usernameClass = '';
if(!u.status) {
usernameClass = 'user-indicator-no-status';
} else if(u.status) {
if(u.status.retweeted_status) {
usernameClass = 'user-indicator-retweeted';
} else if(u.status.quoted_status_id_str) {
usernameClass = 'user-indicator-quoted';
if(vars.showBoringIndicators) {
if(!u.status) {
usernameClass = 'user-indicator-no-status';
} else if(u.status) {
if(u.status.retweeted_status) {
usernameClass = 'user-indicator-retweeted';
} else if(u.status.quoted_status_id_str) {
usernameClass = 'user-indicator-quoted';
}
}
}
appendUser(u, userList, label, usernameClass);
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2024)",
"description": "__MSG_ext_description__",
"version": "1.8.8.3",
"version": "1.8.8.4",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
Expand Down

0 comments on commit 15ef866

Please sign in to comment.