mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 05:06:58 -04:00
[EGD-3070] Fix formatting
This commit is contained in:
committed by
pawel-mudita
parent
9954823186
commit
bb983ffc00
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ struct ContactRecord
|
||||
bool isOnWhitelist = false;
|
||||
bool isOnBlacklist = false;
|
||||
bool isOnFavourites = false;
|
||||
UTF8 speeddial = "";
|
||||
UTF8 speeddial = "";
|
||||
|
||||
inline UTF8 getFormattedName()
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user