Include pop ups + change auth flow for github codespace

This commit is contained in:
hunteraraujo
2023-10-05 23:50:21 -07:00
parent f810264c65
commit bc10845cb5
2 changed files with 17 additions and 42 deletions

View File

@@ -84,7 +84,10 @@ class MyApp extends StatelessWidget {
if (snapshot.connectionState == ConnectionState.waiting) {
return CircularProgressIndicator();
}
if (snapshot.hasData && snapshot.data != null) {
String hostname = Uri.base.host;
if (snapshot.hasData && snapshot.data != null ||
hostname.contains('github.dev')) {
return MultiProvider(
providers: [
ChangeNotifierProvider(