Skip to content

Commit b3d38cb

Browse files
committed
Fix macOS titlebar traffic light spacing and release v0.4.3
1 parent 095637e commit b3d38cb

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎assets/app-icon.png‎

-329 KB
Loading

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub2api-usage-float",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"private": true,
55
"description": "Sub2API account usage desktop floating dashboard",
66
"main": "./out/main/index.js",

‎src/main/sub2api-client.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ export class Sub2ApiClient {
432432
const headers: Record<string, string> = {
433433
Accept: 'application/json',
434434
'Accept-Language': 'zh-CN',
435-
'User-Agent': 'Sub2API-Usage-Float/0.4.2'
435+
'User-Agent': 'Sub2API-Usage-Float/0.4.3'
436436
}
437437
if (options.body !== undefined) headers['Content-Type'] = 'application/json'
438438
if (options.auth) {
-329 KB
Loading

‎src/renderer/src/styles.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ button {
191191
flex: 0 0 50px;
192192
align-items: center;
193193
justify-content: space-between;
194-
padding: 0 14px;
194+
padding: 0 14px 0 78px;
195195
background: var(--surface);
196196
border-bottom: 1px solid var(--line);
197197
-webkit-app-region: drag;

0 commit comments

Comments
 (0)