1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Fix bugs in application settings

This commit is contained in:
2021-02-12 22:36:22 +01:00
parent 523f9fd0e3
commit 52cc8407d5
8 changed files with 24 additions and 6 deletions

View File

@ -0,0 +1,7 @@
import 'package:flutter/material.dart';
import 'package:settings_ui/settings_ui.dart';
// ignore: must_be_immutable
class HeadSpacerSection extends CustomSection {
HeadSpacerSection() : super(child: Container(height: 10));
}

View File

@ -40,7 +40,7 @@ class TextEditSettingsTile extends SettingsTile {
return SettingsTile(
title: title,
subtitle: currValue,
onPressed: (_)=>readOnly ? null : () => _changeValue(context),
onPressed: readOnly ? null : (_) => _changeValue(context),
);
}