From 63de8abde53e20631ba98928c354de3834e71243 Mon Sep 17 00:00:00 2001 From: Jesus Fuentes Date: Sun, 1 Apr 2018 09:05:56 -0500 Subject: [PATCH] Update/Edit documentation --- documentation/extensions/caps.md | 2 +- documentation/extensions/consistent_colors.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/extensions/caps.md b/documentation/extensions/caps.md index 38b634b01..647eabe98 100644 --- a/documentation/extensions/caps.md +++ b/documentation/extensions/caps.md @@ -17,7 +17,7 @@ are determined with the help of the Service Discovery Protocol **Usage** -Entity Capabilities work silenty in background when enabled. If the remote +Entity Capabilities work silently in the background when enabled. If the remote XMPP entity does not support XEP-0115 but XEP-0030 then XEP-0030 mechanisms are transparently used. You can enable or disable Entity Capabilities by using _**EntityCapsManager**_. diff --git a/documentation/extensions/consistent_colors.md b/documentation/extensions/consistent_colors.md index ea59716b2..ba304d3a2 100644 --- a/documentation/extensions/consistent_colors.md +++ b/documentation/extensions/consistent_colors.md @@ -10,14 +10,14 @@ color on all platforms to provide a consistent user experience. The utility class `ConsistentColor` allows the generation of colors to a given string following the specification of [XEP-0392](https://xmpp.org/extensions/xep-0392.html). -##Usage +## Usage To generate a consistent color for a given string, call ``` float[] rgb = ConsistentColor.RGBFrom(input); ``` The resulting float array contains values for RGB in the range of 0 to 1. -##Color Deficiency Corrections +## Color Deficiency Corrections Some users might suffer from color vision deficiencies. To compensate those deficiencies, the API allows for color correction. The color correction mode is a static value, which can be changed at any time. @@ -33,5 +33,5 @@ ConsistentColor.activateBlueBlindnessCorrection(); To deactivate color vision deficiency correction, call ``` -ConsistenColor.deactivateDeficiencyCorrection(); +ConsistentColor.deactivateDeficiencyCorrection(); ``` \ No newline at end of file