Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remants

vishnukvmd9a8e50878fc5
diff --git a/mobile/apps/locker/lib/ui/pages/physical_records_page.dart b/mobile/apps/locker/lib/ui/pages/physical_records_page.dart
index 7b3d58b5c7..534ada89f5 100644
--- a/mobile/apps/locker/lib/ui/pages/physical_records_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/physical_records_page.dart
@@ -70,7 +70,8 @@ class _PhysicalRecordsPageState
}
@override
- bool get isSaveEnabled => super.isSaveEnabled &&
+ bool get isSaveEnabled =>
+ super.isSaveEnabled &&
_nameController.text.trim().isNotEmpty &&
_locationController.text.trim().isNotEmpty;
diff --git a/mobile/packages/ui/lib/components/buttons/gradient_button.dart b/mobile/packages/ui/lib/components/buttons/gradient_button.dart
index f13f6206d9..bebd7b3687 100644
--- a/mobile/packages/ui/lib/components/buttons/gradient_button.dart
+++ b/mobile/packages/ui/lib/components/buttons/gradient_button.dart
@@ -29,8 +29,8 @@ class GradientButton extends StatelessWidget {
final bool isEnabled = onTap != null;
final Color backgroundColor =
isEnabled ? colorScheme.primary700 : colorScheme.fillFaint;
- final TextStyle effectiveTextStyle =
- _textStyle.copyWith(color: isEnabled ? Colors.white : colorScheme.textMuted);
+ final TextStyle effectiveTextStyle = _textStyle.copyWith(
+ color: isEnabled ? Colors.white : colorScheme.textMuted);
final Widget textWidget = Text(text, style: effectiveTextStyle);