π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix: Enable add button when name is not null
Neeraj Gupta892fb8e4d7df
diff --git a/lib/ui/viewer/location/add_location_sheet.dart b/lib/ui/viewer/location/add_location_sheet.dartindex f2809d63a1..46b2731089 100644--- a/lib/ui/viewer/location/add_location_sheet.dart+++ b/lib/ui/viewer/location/add_location_sheet.dart@@ -76,12 +76,13 @@ class _AddLocationSheetState extends State<AddLocationSheet> {late ValueNotifier<double> _selectedRadiusNotifier;final _focusNode = FocusNode();final _textEditingController = TextEditingController();- final _isEmptyNotifier = ValueNotifier(true);+ late final ValueNotifier<bool> _isEmptyNotifier;Widget? _keyboardTopButtons;@overridevoid initState() {_textEditingController.text = widget.name;+ _isEmptyNotifier = ValueNotifier(widget.name.isEmpty);_focusNode.addListener(_focusNodeListener);_selectedRadiusNotifier = ValueNotifier(widget.radius);_selectedRadiusNotifier.addListener(_selectedRadiusListener);