소스 검색

Merge pull request #811 from ente-io/dialog-changes

TextTheme change for title in dialogs
Neeraj Gupta 2 년 전
부모
커밋
88cd5b73cf
3개의 변경된 파일2개의 추가작업 그리고 30개의 파일을 삭제
  1. 1 1
      lib/ui/components/action_sheet_widget.dart
  2. 1 1
      lib/ui/components/dialog_widget.dart
  3. 0 28
      lib/ui/home/status_bar_widget.dart

+ 1 - 1
lib/ui/components/action_sheet_widget.dart

@@ -152,7 +152,7 @@ class ContentContainerWidget extends StatelessWidget {
             ? const SizedBox.shrink()
             ? const SizedBox.shrink()
             : Text(
             : Text(
                 title!,
                 title!,
-                style: textTheme.h3Bold
+                style: textTheme.largeBold
                     .copyWith(color: textBaseDark), //constant color
                     .copyWith(color: textBaseDark), //constant color
               ),
               ),
         title == null || body == null
         title == null || body == null

+ 1 - 1
lib/ui/components/dialog_widget.dart

@@ -117,7 +117,7 @@ class ContentContainer extends StatelessWidget {
                 ],
                 ],
               ),
               ),
         icon == null ? const SizedBox.shrink() : const SizedBox(height: 19),
         icon == null ? const SizedBox.shrink() : const SizedBox(height: 19),
-        Text(title, style: textTheme.h3Bold),
+        Text(title, style: textTheme.largeBold),
         body != null ? const SizedBox(height: 19) : const SizedBox.shrink(),
         body != null ? const SizedBox(height: 19) : const SizedBox.shrink(),
         body != null
         body != null
             ? Text(
             ? Text(

+ 0 - 28
lib/ui/home/status_bar_widget.dart

@@ -240,34 +240,6 @@ class RefreshIndicatorWidget extends StatelessWidget {
   }
   }
 }
 }
 
 
-class BrandingWidget extends StatelessWidget {
-  const BrandingWidget({Key? key}) : super(key: key);
-
-  @override
-  Widget build(BuildContext context) {
-    return Row(
-      children: [
-        Container(
-          height: kContainerHeight,
-          padding: const EdgeInsets.only(left: 12, top: 4),
-          child: const Align(
-            alignment: Alignment.centerLeft,
-            child: Text(
-              "ente",
-              style: TextStyle(
-                fontWeight: FontWeight.bold,
-                fontFamily: 'Montserrat',
-                fontSize: 24,
-                height: 1,
-              ),
-            ),
-          ),
-        ),
-      ],
-    );
-  }
-}
-
 class SyncStatusCompletedWidget extends StatelessWidget {
 class SyncStatusCompletedWidget extends StatelessWidget {
   const SyncStatusCompletedWidget({Key? key}) : super(key: key);
   const SyncStatusCompletedWidget({Key? key}) : super(key: key);