Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI improvements for Android #21

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Conversation

nohackjustnoobb
Copy link
Contributor

Remove the background of the status bar:

Before

Screenshot_2024-08-02-22-08-29-434_xyz hku cuckoo

After

Screenshot_2024-08-02-22-57-25-120_xyz hku cuckoo

Remove the background of the gestures indicator:

Before

Screenshot_2024-08-02-22-08-42-377_xyz hku cuckoo

After

Screenshot_2024-08-02-22-20-01-076_xyz hku cuckoo

pubspec.yaml Outdated
@@ -44,7 +44,7 @@ dependencies:
flutter_animate: ^4.5.0
flutter_colorpicker: ^1.1.0
live_activities: ^1.9.3
home_widget: ^0.5.0
home_widget: ^0.6.0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep this at 0.5.0 for now, as upgrading flutter to >=3.20 will cause problems in persistent_bottom_nav_bar. Will upgrade them in next versions

@@ -243,6 +244,13 @@ class RootState extends State<Root> with WidgetsBindingObserver {

@override
Widget build(BuildContext context) {
// Change the icon color according to the current theme.
final isDarkTheme = Theme.of(context).brightness == Brightness.dark;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can use context.isDarkMode as shortcut

@thermitex
Copy link
Owner

Thanks a lot for the contribution!!

@thermitex thermitex merged commit cc91f63 into thermitex:main Aug 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants