This. The only reason I can think you are confused is that you're familiar with marine systems charging where they commonly use a specialized charger to charge two 12V in series as two 12V instead of one 24V battery.
You don't have two 12V batteries or a 24V battery. You have an 8S LFP battery, so it should be charged accordingly.
8S LFP is 25.6V nominal. That is a good replacement for a 24V Lead-acid system.
You charge your LFP 8S battery to:
Absorption: 27.6-28.8V (3.45 - 3.55V/cell) - low end less stressful to the cells and requires a long absorption phase and will charge to about 98%+, but high end charges quickly and requires short absorption phase.
Float: 27.2V (3.40V - cell) - note that even at the float voltage, an LFP battery will continue to charge until about 95% full.