mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: ios add labels not working in subscription settings
* creating wrong filter in the rule
This commit is contained in:
parent
7289480ca5
commit
177a3c3f90
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