diff --git a/lib/utilities/text_styles.dart b/lib/utilities/text_styles.dart index 53d377193..d7385286b 100644 --- a/lib/utilities/text_styles.dart +++ b/lib/utilities/text_styles.dart @@ -1356,67 +1356,16 @@ class STextStyles { } static TextStyle currencyTicker(BuildContext context) { - switch (_theme(context).themeType) { - case ThemeType.light: - return GoogleFonts.inter( - color: _theme(context).textDark, - fontWeight: FontWeight.w500, - fontSize: 16, - background: Paint() - ..color = Theme.of(context).extension()!.highlight - ..strokeWidth = 8 - ..strokeJoin = StrokeJoin.round - ..strokeCap = StrokeCap.round - ..style = PaintingStyle.stroke, - ); - case ThemeType.oceanBreeze: - return GoogleFonts.inter( - color: _theme(context).textDark, - fontWeight: FontWeight.w500, - fontSize: 16, - background: Paint() - ..color = Theme.of(context).extension()!.highlight - ..strokeWidth = 8 - ..strokeJoin = StrokeJoin.round - ..strokeCap = StrokeCap.round - ..style = PaintingStyle.stroke, - ); - case ThemeType.dark: - return GoogleFonts.inter( - color: _theme(context).textDark, - fontWeight: FontWeight.w500, - fontSize: 16, - background: Paint() - ..color = Theme.of(context).extension()!.highlight - ..strokeWidth = 8 - ..strokeJoin = StrokeJoin.round - ..strokeCap = StrokeCap.round - ..style = PaintingStyle.stroke, - ); - // case ThemeType.OLEDblack: - // return GoogleFonts.inter( - // color: _theme(context).textDark, - // fontWeight: FontWeight.w500, - // fontSize: 16, - // background: Paint() - // ..color = Theme.of(context).extension()!.highlight - // ..strokeWidth = 8 - // ..strokeJoin = StrokeJoin.round - // ..strokeCap = StrokeCap.round - // ..style = PaintingStyle.stroke, - // ); - // case ThemeType.fruitSorbet: - // return GoogleFonts.inter( - // color: _theme(context).textDark, - // fontWeight: FontWeight.w500, - // fontSize: 16, - // background: Paint() - // ..color = Theme.of(context).extension()!.highlight - // ..strokeWidth = 8 - // ..strokeJoin = StrokeJoin.round - // ..strokeCap = StrokeCap.round - // ..style = PaintingStyle.stroke, - // ); - } + return GoogleFonts.inter( + color: _theme(context).textDark, + fontWeight: FontWeight.w500, + fontSize: 16, + background: Paint() + ..color = Theme.of(context).extension()!.highlight + ..strokeWidth = 8 + ..strokeJoin = StrokeJoin.round + ..strokeCap = StrokeCap.round + ..style = PaintingStyle.stroke, + ); } }