#pragma once
// Spec: INV-posts 11.1. Flag icon that opens the report sheet; hidden for own content, when logged out or
// when the "report buttons" setting is off.
#include <string>
#include "model/TargetType.hpp"
#include "ui/Views.hpp"
namespace dp {
// Returns nullptr (dropped by stacks) when the button is not visible.
ui::ViewPtr ReportButton(TargetType type, const std::string& targetId, const std::string& authorId);
bool reportButtonVisible(const std::string& authorId);
} // namespace dp