[EGD-3070] Fix formatting

This commit is contained in:
Pawel Olejniczak
2020-04-08 14:08:25 +02:00
committed by pawel-mudita
parent 9954823186
commit bb983ffc00
3 changed files with 6 additions and 6 deletions

View File

@@ -358,8 +358,8 @@ namespace gui
if (contact && contact->primaryName.length() > 0 && contact->alternativeName.length() > 0)
setTitle(contact->primaryName + " " + contact->alternativeName);
auto isSpeedDialInRange = [&](const UTF8& speedDialStr) {
unsigned int speedDialInt = atoi(speedDialStr.c_str());
auto isSpeedDialInRange = [&](const UTF8 &speedDialStr) {
unsigned int speedDialInt = atoi(speedDialStr.c_str());
return speedDialStr.length() && speedDialInt <= phonebookInternals::speedDialMaxValue;
};

View File

@@ -48,7 +48,7 @@ struct ContactRecord
bool isOnWhitelist = false;
bool isOnBlacklist = false;
bool isOnFavourites = false;
UTF8 speeddial = "";
UTF8 speeddial = "";
inline UTF8 getFormattedName()
{

View File

@@ -27,9 +27,9 @@ struct ContactsTableRow
bool isOnWhitelist = false;
bool isOnBlacklist = false;
bool isOnFavourites = false;
std::string speedDial = "";
UTF8 namePrimary = "";
UTF8 nameAlternative = "";
std::string speedDial = "";
UTF8 namePrimary = "";
UTF8 nameAlternative = "";
};
enum class ContactTableFields