package com.base.datarecovery.utils;

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

public class PhotoRecoveryStringManager {
    private static final List<String> photoRecoveryCopies = new ArrayList<>();
    private static int currentRecoveryIndex = 0;

    static {
        // 添加照片恢复功能的推送文案到列表
        photoRecoveryCopies.add("Our recovery tool can help you find precious photo!");
        photoRecoveryCopies.add("Recover a deleted photo easily with our app.");
        photoRecoveryCopies.add("Use our photo recovery feature now.");
        photoRecoveryCopies.add("Restore deleted photos with a few taps.");
        photoRecoveryCopies.add("Try our recovery service to get it back today.");
    }

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