This commit is contained in:
pompurin404 2024-08-26 13:01:06 +08:00
parent e3acf47c6d
commit a2d8d962fb
No known key found for this signature in database
4 changed files with 10 additions and 11 deletions

View File

@ -1,9 +1,8 @@
### New Features
- Linux支持手动授权内核
- 代理节点支持多列展示
- MacOS托盘图标网速多行显示
### Bug Fixes
- 修改混合端口后系统代理没有更新
- 缩短MacOS网速显示长度
- 修复永久订阅过期时间显示问题
- 修复指定3列显示无效的问题

View File

@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "1.0.5",
"version": "1.0.6",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party",

View File

@ -223,13 +223,13 @@ const ProfileItem: React.FC<Props> = (props) => {
</Dropdown>
</div>
</div>
{info.type === 'remote' && (
{info.type === 'remote' && extra && (
<div
className={`mt-2 flex justify-between ${isCurrent ? 'text-white' : 'text-foreground'}`}
>
<small>{extra ? `${calcTraffic(usage)}/${calcTraffic(total)}` : undefined}</small>
<small>{`${calcTraffic(usage)}/${calcTraffic(total)}`}</small>
<small>
{extra && extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : ''}
{extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : '长期有效'}
</small>
</div>
)}

View File

@ -109,13 +109,13 @@ const ProfileCard: React.FC = () => {
)}
</div>
</div>
{info.type === 'remote' && (
{info.type === 'remote' && extra && (
<div
className={`mt-2 flex justify-between ${match ? 'text-white' : 'text-foreground'} `}
>
<small>{extra ? `${calcTraffic(usage)}/${calcTraffic(total)}` : undefined}</small>
<small>{`${calcTraffic(usage)}/${calcTraffic(total)}`}</small>
<small>
{extra && extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : ''}
{extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : '长期有效'}
</small>
</div>
)}