Skip to content

Commit

Permalink
feat(app): Fix the app back icon (#826)
Browse files Browse the repository at this point in the history
Signed-off-by: Talwinder Kaur <[email protected]>
  • Loading branch information
talwinder50 authored Nov 14, 2024
1 parent ea17099 commit 5e59f60
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo/app/lib/views/credential_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ class CredentialDetailsState extends State<CredentialDetails> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.white),
onPressed: () => Navigator.of(context).pop(),
),
title: const Text('Credential Details',
textAlign: TextAlign.center,
style: TextStyle(
Expand Down
4 changes: 4 additions & 0 deletions demo/app/lib/views/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ class SettingsState extends State<Settings> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.white),
onPressed: () => Navigator.of(context).pop(),
),
automaticallyImplyLeading: false,
title: const Text('Settings'),
backgroundColor: const Color(0xffEEEAEE),
Expand Down

0 comments on commit 5e59f60

Please sign in to comment.