fix: normalize privacyBody split to filter empty lines

This commit is contained in:
Forte11Cuba
2026-04-11 02:32:46 -06:00
parent 100a4943eb
commit f66668f0ec
+4 -1
View File
@@ -77,7 +77,10 @@ class PrivacyScreen extends StatelessWidget {
),
),
const SizedBox(height: 28),
...l10n.privacyBody.split('\n').map(
...l10n.privacyBody.split('\n')
.map((s) => s.trim())
.where((s) => s.isNotEmpty)
.map(
(line) => Padding(
padding: const EdgeInsets.only(bottom: 12),
child: Text(