Adjust color of link preview border to be more universal

This commit is contained in:
krawieck 2020-09-03 00:07:07 +02:00
parent e44b6cf10f
commit 3381e0c375
1 changed files with 3 additions and 1 deletions

View File

@ -265,7 +265,9 @@ class Post extends StatelessWidget {
onTap: _openLink, onTap: _openLink,
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border.all(width: 1), border: Border.all(
width: 1,
color: Theme.of(context).iconTheme.color.withAlpha(170)),
borderRadius: BorderRadius.circular(5)), borderRadius: BorderRadius.circular(5)),
child: Padding( child: Padding(
padding: const EdgeInsets.all(10), padding: const EdgeInsets.all(10),