Deduplicate string compare utility (#9579)

This commit is contained in:
Michael Telatynski
2022-11-15 10:20:36 +00:00
committed by GitHub
parent 436146105e
commit e66027cd0c
9 changed files with 9 additions and 18 deletions

View File

@@ -15,10 +15,11 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { compare } from "matrix-js-sdk/src/utils";
import { _t } from "./languageHandler";
import SettingsStore from "./settings/SettingsStore";
import ThemeWatcher from "./settings/watchers/ThemeWatcher";
import { compare } from "./utils/strings";
export const DEFAULT_THEME = "light";
const HIGH_CONTRAST_THEMES = {