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("Lost a precious photo? Our recovery tool can help you find it!");
        photoRecoveryCopies.add("Accidentally deleted a photo? Recover it easily with our app.");
        photoRecoveryCopies.add("Bring back lost memories: Use our photo recovery feature now.");
        photoRecoveryCopies.add("Don't let deleted photos stay lost. Restore them with a few taps.");
        photoRecoveryCopies.add("Regret deleting a photo? 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;
    }
}
