Store feed.editedName in ODB.
This commit is contained in:
parent
0f59b904ef
commit
ce1fe6ed1f
@ -84,8 +84,14 @@ public final class Feed: DisplayNameProvider, UnreadCountProvider, Hashable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public var editedName: String? {
|
public var editedName: String? {
|
||||||
didSet {
|
get {
|
||||||
postDisplayNameDidChangeNotification()
|
return settingsTable.string(for: Key.editedName)
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
if newValue != editedName {
|
||||||
|
settingsTable.setString(newValue, for: Key.editedName)
|
||||||
|
postDisplayNameDidChangeNotification()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user