mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 19:47:10 +00:00
fix(folio): move balance into the header, one compact line under the account name
This commit is contained in:
1 parent
00a651b612
commit
cb480d5b28
2 files changed
+10
-7
No files matched your search
+2
@@ -19,6 +19,7 @@ import app.folio.ui.theme.Type
|
||||
fun Header(
|
||||
title: String,
|
||||
subtitle: String? = null,
|
||||
detail: @Composable (() -> Unit)? = null,
|
||||
left: @Composable (() -> Unit)? = null,
|
||||
right: @Composable (() -> Unit)? = null,
|
||||
) {
|
||||
@@ -42,6 +43,7 @@ fun Header(
|
||||
if (subtitle != null) {
|
||||
Text(subtitle, style = Type.caption, color = t.textMuted)
|
||||
}
|
||||
if (detail != null) detail()
|
||||
}
|
||||
if (right != null) right()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user