From f8691d147ac5f9b073fa3868a6546efbb5904beb Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 14 Jun 2021 10:08:04 -0700 Subject: [PATCH] Remove SMS domains from tooltips --- src/pages/home/HeaderView.js | 2 +- src/pages/home/sidebar/OptionRow.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/home/HeaderView.js b/src/pages/home/HeaderView.js index d5c205af9c47..d8d183de2511 100644 --- a/src/pages/home/HeaderView.js +++ b/src/pages/home/HeaderView.js @@ -65,7 +65,7 @@ const HeaderView = (props) => { return { displayName: (isMultipleParticipant ? firstName : displayNameTrimmed) || Str.removeSMSDomain(login), - tooltip: login, + tooltip: Str.removeSMSDomain(login), }; }, ); diff --git a/src/pages/home/sidebar/OptionRow.js b/src/pages/home/sidebar/OptionRow.js index 9fed30b58560..47fee412d3f3 100644 --- a/src/pages/home/sidebar/OptionRow.js +++ b/src/pages/home/sidebar/OptionRow.js @@ -135,7 +135,7 @@ const OptionRow = ({ return { displayName: (isMultipleParticipant ? firstName : displayNameTrimmed) || Str.removeSMSDomain(login), - tooltip: login, + tooltip: Str.removeSMSDomain(login), }; }, );