fix(ui): Change TextStyle to ResponsiveText
This commit is contained in:
@@ -73,7 +73,7 @@ class _DeviceNotificationSettingsScreenState
|
||||
hint: Text(
|
||||
appLocalization(context)
|
||||
.choose_device_dropdownButton,
|
||||
style: const TextStyle(fontSize: 14),
|
||||
style: context.responsiveBodySmall,
|
||||
),
|
||||
iconStyleData: const IconStyleData(
|
||||
icon: Icon(
|
||||
|
||||
@@ -62,10 +62,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
child: Text(
|
||||
getAvatarContent(
|
||||
userSnapshot.data?.username ?? ""),
|
||||
style: const TextStyle(
|
||||
fontSize: 35,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
style: context.dynamicResponsiveSize(36),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -76,8 +73,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
children: [
|
||||
Text(
|
||||
userSnapshot.data?.name ?? "User Name",
|
||||
style: const TextStyle(
|
||||
fontWeight: FontWeight.w900, fontSize: 26),
|
||||
style: context.h2,
|
||||
)
|
||||
],
|
||||
),
|
||||
@@ -132,7 +128,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
leading: IconConstants.instance.getMaterialIcon(icon),
|
||||
title: Text(
|
||||
content,
|
||||
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
|
||||
style: context.responsiveBodyMediumWithBold,
|
||||
),
|
||||
trailing: const Icon(
|
||||
Icons.arrow_forward_ios_outlined,
|
||||
|
||||
Reference in New Issue
Block a user