diff --git a/App/Features/Entry/EntriesListView.swift b/App/Features/Entry/EntriesListView.swift index a0f3f1d7..f9f5fa1d 100644 --- a/App/Features/Entry/EntriesListView.swift +++ b/App/Features/Entry/EntriesListView.swift @@ -34,6 +34,13 @@ struct EntriesListView: View { StarEntryButton(entry: entry) .tint(.orange) .labelStyle(.iconOnly) + Button(action: { + context.delete(entry) + }, label: { + Label("Delete", systemImage: "trash") + }) + .tint(.red) + .labelStyle(.iconOnly) }) } } diff --git a/App/Features/Entry/EntryView.swift b/App/Features/Entry/EntryView.swift index 3b6ae3c3..de22e604 100644 --- a/App/Features/Entry/EntryView.swift +++ b/App/Features/Entry/EntryView.swift @@ -29,7 +29,7 @@ struct EntryView: View { .fontWeight(.black) .lineLimit(2) .padding(.horizontal) - ProgressView(value: progress, total: 1) + ProgressView(value: min(progress, 1), total: 1) WebView(entry: entry, progress: $progress) } .addSwipeToBack { diff --git a/wallabag.xcodeproj/project.pbxproj b/wallabag.xcodeproj/project.pbxproj index cf8eda36..6628ecab 100644 --- a/wallabag.xcodeproj/project.pbxproj +++ b/wallabag.xcodeproj/project.pbxproj @@ -1271,7 +1271,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MARKETING_VERSION = 7.2.3; + MARKETING_VERSION = 7.2.4; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -1330,7 +1330,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MARKETING_VERSION = 7.2.3; + MARKETING_VERSION = 7.2.4; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/wallabag.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/wallabag.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 378d2e56..0ee0a326 100644 --- a/wallabag.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/wallabag.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,9 +1,10 @@ { + "originHash" : "1351681aa0561c1bf75095fc5a7de05b4fad33bf3861685ea452fe23e7b8d022", "pins" : [ { "identity" : "factory", "kind" : "remoteSourceControl", - "location" : "git@github.com:hmlongco/Factory.git", + "location" : "https://github.com/hmlongco/Factory", "state" : { "revision" : "8ca11a7bd1ede031e8e6d7a912bb116e2e43961b", "version" : "2.3.1" @@ -109,5 +110,5 @@ } } ], - "version" : 2 + "version" : 3 }