-- << FUNCTIONS >>

function module:SetupDonorCommands()
	main:GetModule("PageCommands"):SetupCommands(donorCommands, pages.donor, 0)
	module:UpdateDonorFrame()
end

function module:UpdateDonorFrame()
	if main.pdata.Donor then
		unlockDonor.Visible = false
	else
		unlockDonor.Visible = true
	end
	pages.donor.CanvasSize = UDim2.new(0, 0, 0, (finalLabel.AbsolutePosition.Y - firstLabel.AbsolutePosition.Y) + finalLabel.AbsoluteSize.Y*1)
end



return module
