mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-07 07:32:18 +01:00
Change to ignore unsupported accounts instead of crashing
This commit is contained in:
parent
b75f67bc1b
commit
ea13f911f1
@ -217,7 +217,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
|||||||
case .feedbin:
|
case .feedbin:
|
||||||
self.delegate = FeedbinAccountDelegate(dataFolder: dataFolder, transport: transport)
|
self.delegate = FeedbinAccountDelegate(dataFolder: dataFolder, transport: transport)
|
||||||
default:
|
default:
|
||||||
fatalError("Only Local and Feedbin accounts are supported")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
self.accountID = accountID
|
self.accountID = accountID
|
||||||
|
Loading…
Reference in New Issue
Block a user