Skip to content

Commit

Permalink
chore: revert visual density change
Browse files Browse the repository at this point in the history
  • Loading branch information
richardshiue committed Nov 6, 2024
1 parent de4cf3f commit 8ae6805
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:flowy_infra/size.dart';
import 'package:flowy_infra/theme.dart';
import 'package:flowy_infra/theme_extension.dart';
import 'package:flutter/material.dart';
import 'package:universal_platform/universal_platform.dart';

class DesktopAppearance extends BaseAppearance {
@override
Expand Down Expand Up @@ -49,9 +48,7 @@ class DesktopAppearance extends BaseAppearance {

// Due to Desktop version has multiple themes, it relies on the current theme to build the ThemeData
return ThemeData(
visualDensity: UniversalPlatform.isMacOS || UniversalPlatform.isMobile
? VisualDensity.standard
: VisualDensity.compact,
visualDensity: VisualDensity.standard,
useMaterial3: false,
brightness: brightness,
dialogBackgroundColor: theme.surface,
Expand Down

0 comments on commit 8ae6805

Please sign in to comment.