mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Changed condition formatting
This commit is contained in:
@ -374,12 +374,22 @@ class MainActivity : SimpleActivity() {
|
|||||||
TAB_CONTACTS -> 0
|
TAB_CONTACTS -> 0
|
||||||
TAB_FAVORITES -> if (showTabsMask and TAB_CONTACTS > 0) 1 else 0
|
TAB_FAVORITES -> if (showTabsMask and TAB_CONTACTS > 0) 1 else 0
|
||||||
else -> {
|
else -> {
|
||||||
|
if (showTabsMask and TAB_CALL_HISTORY > 0) {
|
||||||
if (showTabsMask and TAB_CONTACTS > 0) {
|
if (showTabsMask and TAB_CONTACTS > 0) {
|
||||||
if (showTabsMask and TAB_FAVORITES > 0 && showTabsMask and TAB_CALL_HISTORY > 0) 2
|
if (showTabsMask and TAB_FAVORITES > 0) {
|
||||||
else if (showTabsMask and TAB_CALL_HISTORY > 0) 1
|
2
|
||||||
else 0
|
|
||||||
} else {
|
} else {
|
||||||
if (showTabsMask and TAB_FAVORITES > 0 && showTabsMask and TAB_CALL_HISTORY > 0) 1 else 0
|
1
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (showTabsMask and TAB_FAVORITES > 0) {
|
||||||
|
1
|
||||||
|
} else {
|
||||||
|
0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user