Skip to content

Commit

Permalink
feat(front/mobile): apply theme on Library page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomi-Tom authored and RezaRahemtola committed Nov 3, 2023
1 parent f1493e7 commit 152aecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/mobile/lib/components/library/workflow_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class _WorkflowTileState extends State<WorkflowTile> {
Widget build(BuildContext context) {
return Card(
elevation: 8,
color: Theme.of(context).colorScheme.primary,
child: FutureBuilder<ServiceReturn<List<Service>>>(
future: services.services.getAll(),
builder: (context, snapshot) {
Expand Down
3 changes: 2 additions & 1 deletion frontend/mobile/lib/pages/library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ class _LibraryState extends State<Library> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.primary,
title: Text(AppLocalizations.of(context)!.libraryTitle),
automaticallyImplyLeading: false),
body: Container(
constraints: const BoxConstraints(maxWidth: 450, maxHeight: 800),
color: const Color(0xFFC5C6C6),
color: Theme.of(context).colorScheme.onSecondary,
child: Padding(
padding: const EdgeInsets.all(16.0),
child: FutureBuilder<ServiceReturn<List<Workflow>>>(
Expand Down

0 comments on commit 152aecf

Please sign in to comment.