back icons reverted to default
This commit is contained in:
parent
db45aa3a36
commit
e306e43cb6
|
|
@ -18,9 +18,7 @@ class AuthenticationAppBar extends StatelessWidget {
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
DidvanIconButton(
|
DidvanIconButton(
|
||||||
icon: Platform.isIOS
|
icon: DidvanIcons.back_regular,
|
||||||
? Icons.arrow_back_ios
|
|
||||||
: DidvanIcons.back_regular,
|
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
if (state.currentPageIndex == 0) {
|
if (state.currentPageIndex == 0) {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
|
|
||||||
|
|
@ -100,9 +100,7 @@ class _FloatingNavigationBarState extends State<FloatingNavigationBar> {
|
||||||
}
|
}
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
icon: Platform.isIOS
|
icon: DidvanIcons.back_regular,
|
||||||
? Icons.arrow_back_ios
|
|
||||||
: DidvanIcons.back_regular,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ class DidvanAppBar extends StatelessWidget {
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
color: Theme.of(context).colorScheme.title,
|
color: Theme.of(context).colorScheme.title,
|
||||||
icon: Icon(
|
icon: const Icon(
|
||||||
Platform.isIOS ? Icons.arrow_back_ios : DidvanIcons.back_regular,
|
DidvanIcons.back_regular,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
|
|
|
||||||
|
|
@ -334,8 +334,8 @@ class __BackButtonState extends State<_BackButton> {
|
||||||
border: Border.all(color: Theme.of(context).colorScheme.border),
|
border: Border.all(color: Theme.of(context).colorScheme.border),
|
||||||
borderRadius: DesignConfig.lowBorderRadius,
|
borderRadius: DesignConfig.lowBorderRadius,
|
||||||
),
|
),
|
||||||
child: Icon(
|
child: const Icon(
|
||||||
Platform.isIOS ? Icons.arrow_back_ios : DidvanIcons.back_regular,
|
DidvanIcons.back_regular,
|
||||||
size: 32,
|
size: 32,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue