package com.base.datarecovery.utils;

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

public class WhatsappStringManager {


    private static final List<String> whatsappCopies = new ArrayList<>();
    private static int currentCopyIndex = 0;

    static {
        // 初始化并添加文案到列表
        whatsappCopies.add("Clean up your WhatsApp to free up some room. Tap here to start.");
        whatsappCopies.add("Clean old files from your WhatsApp and keep things organized.");
        whatsappCopies.add("Your WhatsApp storage could use some freshening up.");
        whatsappCopies.add("Let us help you remove unnecessary files from WhatsApp.");
        whatsappCopies.add("Archive old chats and clear out old media in WhatsApp with a few taps.");
    }

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