@@ -43,6 +43,7 @@ import com.jetpackduba.gitnuro.theme.textButtonColors
43
43
import com.jetpackduba.gitnuro.ui.components.AdjustableOutlinedTextField
44
44
import com.jetpackduba.gitnuro.ui.components.BottomInfoBar
45
45
import com.jetpackduba.gitnuro.ui.components.tooltip.DelayedTooltip
46
+ import com.jetpackduba.gitnuro.ui.components.tooltip.InstantTooltip
46
47
import com.jetpackduba.gitnuro.ui.dialogs.AppInfoDialog
47
48
import com.jetpackduba.gitnuro.updates.Update
48
49
import com.jetpackduba.gitnuro.viewmodels.TabViewModel
@@ -471,18 +472,20 @@ fun RecentRepositoriesList(
471
472
overflow = TextOverflow .Ellipsis ,
472
473
)
473
474
474
- Text (
475
- text = if (repoDirPath.startsWith(System .getProperty(" user.home" ))) {
476
- " ~${repoDirPath.removePrefix(System .getProperty(" user.home" ))} "
477
- } else {
478
- repoDirPath
479
- },
480
- style = MaterialTheme .typography.body2,
481
- overflow = TextOverflow .Ellipsis ,
482
- modifier = Modifier ,
483
- maxLines = 1 ,
484
- color = MaterialTheme .colors.onBackgroundSecondary
485
- )
475
+ InstantTooltip (repoDirPath) {
476
+ Text (
477
+ text = if (repoDirPath.startsWith(System .getProperty(" user.home" ))) {
478
+ " ~${repoDirPath.removePrefix(System .getProperty(" user.home" ))} "
479
+ } else {
480
+ repoDirPath
481
+ },
482
+ style = MaterialTheme .typography.body2,
483
+ overflow = TextOverflow .Ellipsis ,
484
+ modifier = Modifier ,
485
+ maxLines = 1 ,
486
+ color = MaterialTheme .colors.onBackgroundSecondary
487
+ )
488
+ }
486
489
}
487
490
488
491
0 commit comments