Skip to content

Commit

Permalink
Disable Material3
Browse files Browse the repository at this point in the history
  • Loading branch information
omartoutounji committed Dec 15, 2023
1 parent e7e6026 commit 26ae944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void main() {
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
routes: routes,
theme: ThemeData(brightness: Brightness.light),
theme: ThemeData(brightness: Brightness.light, useMaterial3: false),
darkTheme: ThemeData(
brightness: Brightness.dark,
scaffoldBackgroundColor: Colors.black,
Expand Down
4 changes: 2 additions & 2 deletions lib/screens/hwyd.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class _HwydState extends State<Hwyd> {
}

Future<void> _launchPrivacyPolicyUrl() async {
Uri privacyPolicyUrl =
Uri.parse('https://github.com/omartoutounji/hwyd/wiki/Privacy-Policy');
Uri privacyPolicyUrl = Uri.parse(
'https://github.com/omartoutounji/hwyd/wiki/HWYD-Privacy-Policy');
if (!await launchUrl(privacyPolicyUrl)) {
throw Exception('Could not launch $privacyPolicyUrl');
}
Expand Down

0 comments on commit 26ae944

Please sign in to comment.