Merge pull request #175 from ente-io/button_color_fix

Fix the color of the text button
This commit is contained in:
Vishnu Mohandas 2022-01-29 22:51:45 +05:30 committed by GitHub
commit dfdd992e12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:logging/logging.dart';
import 'package:page_transition/page_transition.dart';
import 'package:photos/core/configuration.dart';
@ -214,7 +213,12 @@ class _CreateCollectionPageState extends State<CreateCollectionPage> {
),
actions: [
TextButton(
child: Text("ok"),
child: Text(
"ok",
style: TextStyle(
color: Theme.of(context).buttonColor,
),
),
onPressed: () async {
Navigator.of(context, rootNavigator: true).pop('dialog');
final collection = await _createAlbum(_albumName);