File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
src/main/kotlin/com/jetpackduba/gitnuro/ui/log Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -1016,15 +1016,19 @@ fun CommitMessage(
10161016 overflow = TextOverflow .Ellipsis ,
10171017 )
10181018
1019- TooltipText (
1020- text = commit.authorIdent.whenAsInstant.toSmartSystemString(),
1019+ InstantTooltip (
1020+ text = commit.authorIdent.whenAsInstant.toSmartSystemString(allowRelative = false , showTime = true ),
10211021 modifier = Modifier .padding(horizontal = 16 .dp),
1022- style = MaterialTheme .typography.caption,
1023- color = MaterialTheme .colors.onBackgroundSecondary,
1024- maxLines = 1 ,
1025- overflow = TextOverflow .Ellipsis ,
1026- tooltipTitle = commit.authorIdent.whenAsInstant.toSmartSystemString(allowRelative = false , showTime = true )
1027- )
1022+ position = InstantTooltipPosition .RIGHT ,
1023+ ) {
1024+ Text (
1025+ text = commit.authorIdent.whenAsInstant.toSmartSystemString(),
1026+ style = MaterialTheme .typography.caption,
1027+ color = MaterialTheme .colors.onBackgroundSecondary,
1028+ maxLines = 1 ,
1029+ overflow = TextOverflow .Ellipsis ,
1030+ )
1031+ }
10281032 }
10291033}
10301034
You can’t perform that action at this time.
0 commit comments