Merge pull request #302 from ente-io/ui_fixes

Minor UI fixes
This commit is contained in:
Vishnu Mohandas 2022-06-12 21:44:21 +05:30 committed by GitHub
commit 2d0674c12b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -35,7 +35,9 @@ class _FreeSpacePageState extends State<FreeSpacePage> {
);
Logger("FreeSpacePage")
.info("Space consumed: " + widget.status.size.toString());
return _getWidget(widget.status);
return SingleChildScrollView(
child: _getWidget(widget.status),
);
}
Widget _getWidget(BackupStatus status) {

View file

@ -127,7 +127,7 @@ class ChildSubscriptionWidget extends StatelessWidget {
firstAction: 'No',
secondAction: 'Yes',
firstActionColor: Theme.of(context).buttonColor,
secondActionColor: Colors.white,
secondActionColor: Theme.of(context).colorScheme.onSurface,
);
if (choice != DialogUserChoice.secondChoice) {
return;

View file

@ -198,9 +198,6 @@ class BackupSectionWidgetState extends State<BackupSectionWidget> {
TextButton(
child: Text(
"Ok",
style: TextStyle(
color: Colors.white,
),
),
onPressed: () {
if (Platform.isIOS) {