back icons reverted to default

This commit is contained in:
MohammadTaha Basiri 2022-02-23 19:49:23 +03:30
parent db45aa3a36
commit e306e43cb6
4 changed files with 6 additions and 10 deletions

View File

@ -18,9 +18,7 @@ class AuthenticationAppBar extends StatelessWidget {
return Row(
children: [
DidvanIconButton(
icon: Platform.isIOS
? Icons.arrow_back_ios
: DidvanIcons.back_regular,
icon: DidvanIcons.back_regular,
onPressed: () {
if (state.currentPageIndex == 0) {
Navigator.of(context).pop();

View File

@ -100,9 +100,7 @@ class _FloatingNavigationBarState extends State<FloatingNavigationBar> {
}
Navigator.of(context).pop();
},
icon: Platform.isIOS
? Icons.arrow_back_ios
: DidvanIcons.back_regular,
icon: DidvanIcons.back_regular,
),
),
const Spacer(),

View File

@ -38,8 +38,8 @@ class DidvanAppBar extends StatelessWidget {
IconButton(
onPressed: () => Navigator.of(context).pop(),
color: Theme.of(context).colorScheme.title,
icon: Icon(
Platform.isIOS ? Icons.arrow_back_ios : DidvanIcons.back_regular,
icon: const Icon(
DidvanIcons.back_regular,
),
),
const SizedBox(width: 16),

View File

@ -334,8 +334,8 @@ class __BackButtonState extends State<_BackButton> {
border: Border.all(color: Theme.of(context).colorScheme.border),
borderRadius: DesignConfig.lowBorderRadius,
),
child: Icon(
Platform.isIOS ? Icons.arrow_back_ios : DidvanIcons.back_regular,
child: const Icon(
DidvanIcons.back_regular,
size: 32,
),
),