mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
design(home) : better comment on padding
This commit is contained in:
+4
-1
@@ -175,7 +175,10 @@ fun HomeTopBar(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// We need a 16dp left padding : 4dp default padding + 8dp IconButton padding + 4dp extra padding
|
// We want a 16dp left padding for the navigationIcon :
|
||||||
|
// 4dp from default TopAppBarHorizontalPadding
|
||||||
|
// 8dp from AccountIcon default padding (because of IconButton)
|
||||||
|
// 4dp extra padding using left insets
|
||||||
windowInsets = WindowInsets(left = 4.dp),
|
windowInsets = WindowInsets(left = 4.dp),
|
||||||
)
|
)
|
||||||
if (displayFilters) {
|
if (displayFilters) {
|
||||||
|
|||||||
Reference in New Issue
Block a user