From 9244f9a80c45d2a70361d547b35d9e20b4c7dc8a Mon Sep 17 00:00:00 2001 From: Lukas Nagel Date: Sat, 2 Nov 2024 12:22:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20back=20button=20on=20tv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/views/login.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/views/login.dart b/lib/views/login.dart index c34a2cf..d388e76 100644 --- a/lib/views/login.dart +++ b/lib/views/login.dart @@ -137,7 +137,7 @@ class LoginView extends StatelessWidget { var token = await loginManager.login(info, context); } - Navigator.pushReplacement( + await Navigator.pushReplacement( context, MaterialPageRoute( builder: (context) => Scaffold( @@ -145,6 +145,7 @@ class LoginView extends StatelessWidget { backgroundColor: Theme.of(context).scaffoldBackgroundColor, surfaceTintColor: Colors.transparent, title: Text(Globals.Title), + automaticallyImplyLeading: false, ), body: widget, ),