package com.base.filerecoveryrecyclebin.utils;

import java.util.ArrayList;
import java.util.List;

public class WhatsappCleanerStringManager {
    private static final List<String> documentRecoveryCopies = new ArrayList<>();
    private static int currentCopyIndex = 0;

    static {
        // 初始化并添加文案到列表
        documentRecoveryCopies.add("Running out of chat storage? Clean up with one tap for smoother conversations! Clean Now.");
        documentRecoveryCopies.add("Is your chat slowing down? A quick cleanup will boost your WhatsApp speed! Tap Here.");
        documentRecoveryCopies.add("Old files getting in the way? Clear them out to make room for new messages! Clean Up Now.");
        documentRecoveryCopies.add("Smart clean identifies and clears useless files, making your WhatsApp smarter! Experience Now.");
        documentRecoveryCopies.add("Keep your chats fresh and clean! One tap to clear away the mess and enjoy organized conversations! Act Now.");
    }

    public static String getNextCleanerCopy() {
        if (documentRecoveryCopies.isEmpty()) {
            return null; // 根据您的需要处理错误情况
        }
        String copy = documentRecoveryCopies.get(currentCopyIndex);
        currentCopyIndex = (currentCopyIndex + 1) % documentRecoveryCopies.size();
        return copy;
    }
}
