From 5045bc621c257e89238d90c3d9aaf5f0e5736783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20K=C3=A9kesi?= <64812024+KristofKekesi@users.noreply.github.com> Date: Tue, 24 May 2022 23:47:08 +0200 Subject: [PATCH] Update home_page.dart --- NASA-Mira/lib/pages/home_page.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NASA-Mira/lib/pages/home_page.dart b/NASA-Mira/lib/pages/home_page.dart index 08f7bba..421a533 100644 --- a/NASA-Mira/lib/pages/home_page.dart +++ b/NASA-Mira/lib/pages/home_page.dart @@ -27,6 +27,14 @@ class HomePage extends StatelessWidget { backgroundColor: Colors.white, body: SpaceJamPage( title: "NASA Mira", + appBarLeftAction: Theme.of(context).platform == TargetPlatform.android + ? SpaceJamAppBarAction( + Icons.arrow_back_rounded, + action: () { + Scaffold.of(context).openDrawer(); + }, + ) + : null, appBarRightAction: SpaceJamAppBarAction( Icons.menu, tooltip: AppLocalizations.of(context).translate("selectors"),