mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3475 from omnivore-app/fix/ios-subscription-add-label
fix: ios add labels not working in subscription settings
This commit is contained in:
commit
a7371fe7a1
1 changed files with 2 additions and 2 deletions
|
|
@ -406,14 +406,14 @@ struct SubscriptionSettingsView: View {
|
|||
}
|
||||
|
||||
var ruleName: String {
|
||||
if let url = subscription.url, subscription.type == .newsletter {
|
||||
if let url = subscription.url, subscription.type == .feed {
|
||||
return "system.autoLabel.(\(url))"
|
||||
}
|
||||
return "system.autoLabel.(\(subscription.name))"
|
||||
}
|
||||
|
||||
var ruleFilter: String {
|
||||
if let url = subscription.url, subscription.type == .newsletter {
|
||||
if let url = subscription.url, subscription.type == .feed {
|
||||
return "rss:\"\(url)\""
|
||||
}
|
||||
return "subscription:\"\(subscription.name)\""
|
||||
|
|
|
|||
Loading…
Reference in a new issue