refactor: use _getContactsChannelsFS() instead of ifdefs

This commit is contained in:
taco
2025-09-06 14:07:18 +10:00
parent accd1e0a97
commit 3d83556829
2 changed files with 23 additions and 66 deletions

View File

@@ -48,4 +48,7 @@ public:
bool removeFile(FILESYSTEM* fs, const char* filename);
uint32_t getStorageUsedKb() const;
uint32_t getStorageTotalKb() const;
private:
FILESYSTEM* _getContactsChannelsFS() const { if (_fsExtra) return _fsExtra; return _fs;};
};