fix: ios add labels not working in subscription settings
* creating wrong filter in the rule
This commit is contained in:
@ -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)\""
|
||||
|
||||
Reference in New Issue
Block a user