Skip to content

Commit

Permalink
修正SystemLarge的字体不协调问题 (#433)
Browse files Browse the repository at this point in the history
* 重写Widget

* 删除废弃文件并继续优化

删除了废弃并导致编译出错的TrendingView.swift,图标化部分文字,重构了MeowWidget与BiliBiliAPIService

* 修复2个@main

* 修复问题

* 修正SystemLarge的字体不协调问题

超小修正

明天可能开始实现Widget的设置相关功能

* 修正SystemLarge的字体不协调问题

超小修正

明天可能开始实现Widget的设置相关功能
  • Loading branch information
FengzihangCode authored Jan 12, 2025
1 parent 2a2e937 commit 83d657b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
version = "1.7">
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
askForAppToLaunch = "Yes"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
4 changes: 2 additions & 2 deletions MeowWidget/MeowWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ struct MeowWidgetView: View {
case .systemLarge:
VStack(alignment: .leading) {
Text(entry.video.title)
.font(.title)
.font(.headline)
Text(entry.video.description)
.font(.body)
.font(.caption)
.lineLimit(3)
Spacer()
HStack {
Expand Down

0 comments on commit 83d657b

Please sign in to comment.