Fix feed inspector name editing
This commit is contained in:
parent
7316ceed9d
commit
d59b5016de
|
@ -96,13 +96,17 @@ struct FeedInspectorView : View {
|
|||
|
||||
var name: String {
|
||||
get {
|
||||
return feed.editedName ?? feed.name ?? ""
|
||||
return feed.editedName ?? ""
|
||||
}
|
||||
set {
|
||||
objectWillChange.send()
|
||||
if newValue.isEmpty {
|
||||
feed.editedName = nil
|
||||
} else {
|
||||
feed.editedName = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var isArticleExtractorAlwaysOn: Bool {
|
||||
get {
|
||||
|
|
Loading…
Reference in New Issue