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:
7
lib/ui/widgets/settings/header_spacer_section.dart
Normal file
7
lib/ui/widgets/settings/header_spacer_section.dart
Normal 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));
|
||||
}
|
@ -40,7 +40,7 @@ class TextEditSettingsTile extends SettingsTile {
|
||||
return SettingsTile(
|
||||
title: title,
|
||||
subtitle: currValue,
|
||||
onPressed: (_)=>readOnly ? null : () => _changeValue(context),
|
||||
onPressed: readOnly ? null : (_) => _changeValue(context),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user