2dust / clashN

A clash client for Windows, support Mihomo
https://1.2345345.xyz
GNU General Public License v3.0
4.73k stars 588 forks source link

使用可空来处理项目中可能为空的数据 #240

Closed SlimeNull closed 1 year ago

SlimeNull commented 1 year ago

开启 Nullable, 并更加严谨的处理可能的空值

SlimeNull commented 1 year ago

很多地方 IDE 也给出了明确的修改意见了的

image

SlimeNull commented 1 year ago
SlimeNull commented 1 year ago

@2dust 你这代码越看越吓人啊, 感觉很多地方都得重构, 并且我挺奇怪为啥你要用 Reactive