mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
little tweaks
This commit is contained in:
parent
ceea5c9206
commit
ef9d911d9d
3 changed files with 2 additions and 6 deletions
|
|
@ -739,7 +739,6 @@ struct EnhancedActiveDownloadCard: View {
|
|||
var body: some View {
|
||||
VStack(spacing: 0) {
|
||||
HStack(spacing: 16) {
|
||||
// Thumbnail
|
||||
Group {
|
||||
if let imageURL = download.imageURL {
|
||||
KFImage(imageURL)
|
||||
|
|
@ -761,7 +760,6 @@ struct EnhancedActiveDownloadCard: View {
|
|||
.frame(width: 64, height: 64)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 8))
|
||||
|
||||
// Content
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
Text(download.title ?? download.originalURL.lastPathComponent)
|
||||
.font(.headline)
|
||||
|
|
@ -769,7 +767,6 @@ struct EnhancedActiveDownloadCard: View {
|
|||
.lineLimit(2)
|
||||
.foregroundStyle(.primary)
|
||||
|
||||
// Progress Section
|
||||
VStack(spacing: 6) {
|
||||
HStack {
|
||||
if download.queueStatus == .queued {
|
||||
|
|
@ -809,7 +806,6 @@ struct EnhancedActiveDownloadCard: View {
|
|||
}
|
||||
}
|
||||
|
||||
// Controls
|
||||
HStack(spacing: 12) {
|
||||
if download.queueStatus == .queued {
|
||||
Button(action: cancelDownload) {
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ struct SettingsViewData: View {
|
|||
.padding(.vertical, 12)
|
||||
}
|
||||
|
||||
Divider()
|
||||
Divider().padding(.horizontal, 16)
|
||||
|
||||
Button(action: clearAllCaches) {
|
||||
Text("Clear All Caches")
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ struct SettingsViewPlayer: View {
|
|||
icon: "hand.tap",
|
||||
title: "Two Finger Hold for Pause",
|
||||
isOn: $holdForPauseEnabled,
|
||||
showDivider: false
|
||||
showDivider: true
|
||||
)
|
||||
|
||||
SettingsToggleRow(
|
||||
|
|
|
|||
Loading…
Reference in a new issue