Skip to content

Commit

Permalink
[race hub] fix free practice webview
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Jun 8, 2024
1 parent 9516620 commit 5b0ce0b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/Screens/session_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,16 @@ class _SessionScreenState extends State<SessionScreen> {
widget.session.endTime.isAfter(DateTime.now())
? useOfficialWebview
? WebViewManagerScreen(widget.sessionFullName)
: UnofficialWebviewScreen()
: Scaffold(
appBar: AppBar(
backgroundColor:
Theme.of(context).colorScheme.onPrimary,
title: Text(
widget.sessionFullName,
),
),
body: UnofficialWebviewScreen(),
)
: FreePracticeScreen(
widget.sessionFullName,
int.parse(
Expand Down

0 comments on commit 5b0ce0b

Please sign in to comment.