Skip to content

Commit

Permalink
Pass textScaleFactor issue to TODOs (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
nt4f04uNd authored Jul 13, 2024
1 parent 3c5e376 commit 75b9f56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/routes/home_route/player_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ class _QueueTabState extends State<_QueueTab> with SelectionHandlerMixin {
child: StyledText(
overflow: TextOverflow.ellipsis,
style: _queueDescriptionStyle,
// TODO: otherwise this scales twice as much, report this to the package owner https://github.com/nt4f04uNd/sweyer/issues/66#issuecomment-1493420826
// TODO: otherwise this scales twice as much https://github.com/andyduke/styled_text_package/issues/83
textScaleFactor: 1.0,
text: l10n.foundByQuery('<query>${l10n.escapeStyled('"$query"')}</query>'),
tags: {
Expand All @@ -380,7 +380,7 @@ class _QueueTabState extends State<_QueueTab> with SelectionHandlerMixin {
child: StyledText(
overflow: TextOverflow.ellipsis,
style: _queueDescriptionStyle,
// TODO: otherwise this scales twice as much, report this to the package owner https://github.com/nt4f04uNd/sweyer/issues/66#issuecomment-1493420826
// TODO: otherwise this scales twice as much https://github.com/andyduke/styled_text_package/issues/83
textScaleFactor: 1.0,
text: l10n.albumQueue('<name>${l10n.escapeStyled(origin.nameDotYear)}</name>'),
tags: {
Expand All @@ -400,7 +400,7 @@ class _QueueTabState extends State<_QueueTab> with SelectionHandlerMixin {
child: StyledText(
overflow: TextOverflow.ellipsis,
style: _queueDescriptionStyle,
// TODO: otherwise this scales twice as much, report this to the package owner https://github.com/nt4f04uNd/sweyer/issues/66#issuecomment-1493420826
// TODO: otherwise this scales twice as much https://github.com/andyduke/styled_text_package/issues/83
textScaleFactor: 1.0,
text: l10n.playlistQueue('<name>${l10n.escapeStyled(origin.name)}</name>'),
tags: {
Expand All @@ -421,7 +421,7 @@ class _QueueTabState extends State<_QueueTab> with SelectionHandlerMixin {
child: StyledText(
overflow: TextOverflow.ellipsis,
style: _queueDescriptionStyle,
// TODO: otherwise this scales twice as much, report this to the package owner https://github.com/nt4f04uNd/sweyer/issues/66#issuecomment-1493420826
// TODO: otherwise this scales twice as much https://github.com/andyduke/styled_text_package/issues/83
textScaleFactor: 1.0,
text: l10n.artistQueue('<name>${l10n.escapeStyled(artist)}</name>'),
tags: {
Expand Down

0 comments on commit 75b9f56

Please sign in to comment.