A method of treating an ocular disorder in a subject associated with increased all-trans-retinal in an ocular tissue includes administering to the subject a therapeutically effective amount of a primary amine compound of formula (I):and pharmaceutically acceptable salts thereof.