Skip to content

Commit a32bb38

Browse files
committed
Reformat code
1 parent d2e66fc commit a32bb38

File tree

5 files changed

+31
-33
lines changed

5 files changed

+31
-33
lines changed

app/src/main/java/com/infomaniak/mail/ui/main/folder/ThreadListFragment.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class ThreadListFragment : TwoPaneFragment(), SwipeRefreshLayout.OnRefreshListen
374374
)
375375
}
376376

377-
userAvatar.setOnClickListener { safeNavigate(resId = R.id.accountBottomSheetDialog,) }
377+
userAvatar.setOnClickListener { safeNavigate(resId = R.id.accountBottomSheetDialog) }
378378

379379
newMessageFab.setOnClickListener {
380380
trackNewMessageEvent("openFromFab")

app/src/main/java/com/infomaniak/mail/ui/main/menuDrawer/MenuDrawerAdapter.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class MenuDrawerAdapter @Inject constructor() : ListAdapter<Any, MenuDrawerViewH
8888
val currentMailbox = otherMailboxes.removeAt(currentMailboxIndex)
8989

9090
add(MailboxesHeader(currentMailbox, otherMailboxes.isNotEmpty(), areMailboxesExpanded))
91-
if (areMailboxesExpanded){
91+
if (areMailboxesExpanded) {
9292
addAll(otherMailboxes)
9393
add(ItemType.ADD_MAILBOX)
9494
}

app/src/main/res/drawable/ic_add_circle.xml

+24-25
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,28 @@
2020
android:height="24dp"
2121
android:viewportWidth="24"
2222
android:viewportHeight="24">
23-
<group>
24-
<clip-path
25-
android:pathData="M0,0h24v24h-24z"/>
26-
<path
27-
android:strokeWidth="1"
28-
android:pathData="M12,7.5V16.5"
29-
android:strokeLineJoin="round"
30-
android:fillColor="#00000000"
31-
android:strokeColor="#BC0055"
32-
android:strokeLineCap="round"/>
33-
<path
34-
android:strokeWidth="1"
35-
android:pathData="M7.5,12H16.5"
36-
android:strokeLineJoin="round"
37-
android:fillColor="#00000000"
38-
android:strokeColor="#BC0055"
39-
android:strokeLineCap="round"/>
40-
<path
41-
android:strokeWidth="1"
42-
android:pathData="M12,23.25C18.213,23.25 23.25,18.213 23.25,12C23.25,5.787 18.213,0.75 12,0.75C5.787,0.75 0.75,5.787 0.75,12C0.75,18.213 5.787,23.25 12,23.25Z"
43-
android:strokeLineJoin="round"
44-
android:fillColor="#00000000"
45-
android:strokeColor="#BC0055"
46-
android:strokeLineCap="round"/>
47-
</group>
23+
<group>
24+
<clip-path android:pathData="M0,0h24v24h-24z" />
25+
<path
26+
android:strokeWidth="1"
27+
android:pathData="M12,7.5V16.5"
28+
android:strokeLineJoin="round"
29+
android:fillColor="#00000000"
30+
android:strokeColor="#BC0055"
31+
android:strokeLineCap="round" />
32+
<path
33+
android:strokeWidth="1"
34+
android:pathData="M7.5,12H16.5"
35+
android:strokeLineJoin="round"
36+
android:fillColor="#00000000"
37+
android:strokeColor="#BC0055"
38+
android:strokeLineCap="round" />
39+
<path
40+
android:strokeWidth="1"
41+
android:pathData="M12,23.25C18.213,23.25 23.25,18.213 23.25,12C23.25,5.787 18.213,0.75 12,0.75C5.787,0.75 0.75,5.787 0.75,12C0.75,18.213 5.787,23.25 12,23.25Z"
42+
android:strokeLineJoin="round"
43+
android:fillColor="#00000000"
44+
android:strokeColor="#BC0055"
45+
android:strokeLineCap="round" />
46+
</group>
4847
</vector>

app/src/main/res/drawable/ic_add_thin.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
android:height="24dp"
2121
android:viewportWidth="24"
2222
android:viewportHeight="24">
23-
<path
24-
android:pathData="M12.75,0.75C12.75,0.336 12.414,0 12,0C11.586,0 11.25,0.336 11.25,0.75V11.25H0.75C0.336,11.25 0,11.586 0,12C0,12.414 0.336,12.75 0.75,12.75H11.25V23.25C11.25,23.664 11.586,24 12,24C12.414,24 12.75,23.664 12.75,23.25V12.75H23.25C23.664,12.75 24,12.414 24,12C24,11.586 23.664,11.25 23.25,11.25H12.75V0.75Z"
25-
android:fillColor="#BC0055"/>
23+
<path
24+
android:pathData="M12.75,0.75C12.75,0.336 12.414,0 12,0C11.586,0 11.25,0.336 11.25,0.75V11.25H0.75C0.336,11.25 0,11.586 0,12C0,12.414 0.336,12.75 0.75,12.75H11.25V23.25C11.25,23.664 11.586,24 12,24C12.414,24 12.75,23.664 12.75,23.25V12.75H23.25C23.664,12.75 24,12.414 24,12C24,11.586 23.664,11.25 23.25,11.25H12.75V0.75Z"
25+
android:fillColor="#BC0055" />
2626
</vector>

app/src/main/res/navigation/main_navigation.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@
457457
android:id="@+id/accountManagementSettingsFragment"
458458
android:name="com.infomaniak.mail.ui.main.settings.privacy.AccountManagementSettingsFragment"
459459
android:label="AccountManagementSettingsFragment"
460-
tools:layout="@layout/fragment_account_management_settings"/>
460+
tools:layout="@layout/fragment_account_management_settings" />
461461

462462
<fragment
463463
android:id="@+id/dataManagementMatomoSettingFragment"
@@ -665,7 +665,6 @@
665665
android:id="@+id/accountBottomSheetDialog"
666666
android:name="com.infomaniak.mail.ui.bottomSheetDialogs.AccountBottomSheetDialog"
667667
android:label="AccountBottomSheetDialog"
668-
tools:layout="@layout/bottom_sheet_account">
669-
</dialog>
668+
tools:layout="@layout/bottom_sheet_account"/>
670669

671670
</navigation>

0 commit comments

Comments
 (0)