Skip to content

Commit

Permalink
fix(Lockscreen): Fix wide eye icon
Browse files Browse the repository at this point in the history
The eye icon was wide the wntire lockscreen making it stretched
  • Loading branch information
JustOptimize committed Apr 19, 2024
1 parent 03be71e commit 36b8799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ShowHiddenChannels.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ const Lockscreen = React.memo(({
}, BdApi.React.createElement("img", {
style: {
WebkitUserDrag: 'none',
maxHeight: 128
maxHeight: 128,
margin: '0 auto'
},
src: settings['hiddenChannelIcon'] == 'eye' ? 'https://raw.githubusercontent.com/JustOptimize/return-ShowHiddenChannels/main/assets/eye.png' : '/assets/755d4654e19c105c3cd108610b78d01c.svg'
}), BdApi.React.createElement(TextElement, {
Expand Down
1 change: 1 addition & 0 deletions src/components/Lockscreen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const Lockscreen = React.memo(({ chat, channel, settings }) => {
style={{
WebkitUserDrag: 'none',
maxHeight: 128,
margin: '0 auto',
}}
src={
settings['hiddenChannelIcon'] == 'eye'
Expand Down

0 comments on commit 36b8799

Please sign in to comment.