mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-23 13:33:03 +00:00
refactor(config): remove deprecated mutable config access
This commit is contained in:
1 parent
a4abc40c74
commit
dceaf58e28
45 files changed
+158
-161
No files matched your search
@@ -18,12 +18,12 @@ namespace ui
|
||||
|
||||
inline bool uses_reticulum_filter_profile()
|
||||
{
|
||||
return chat::infra::isReticulumMeshProtocol(app::configFacade().getConfig().mesh_protocol);
|
||||
return chat::infra::isReticulumMeshProtocol(app::configFacade().readConfig().mesh_protocol);
|
||||
}
|
||||
|
||||
inline bool uses_meshcore_filter_profile()
|
||||
{
|
||||
return app::configFacade().getConfig().mesh_protocol == chat::MeshProtocol::MeshCore;
|
||||
return app::configFacade().readConfig().mesh_protocol == chat::MeshProtocol::MeshCore;
|
||||
}
|
||||
|
||||
} // namespace ui
|
||||
|
||||
Reference in new issue
Block a user