Skip to content

Commit

Permalink
Fix the status bar color
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef7ussien committed Mar 23, 2021
1 parent 1a3d131 commit ab8859c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Banner](readme_images/banner.png)

![Flutter version](https://img.shields.io/badge/Flutter-v2.0.3-blue?style=flat&logo=Flutter) ![Dart version](https://img.shields.io/badge/Dart-v2.12.2-blue?style=flat&logo=Dart) ![Open Source](https://img.shields.io/badge/Open%20Source-%E2%9D%A4-red?style=flat)
![Flutter version](https://img.shields.io/badge/Flutter-v2.0.3-blue?style=flat&logo=Flutter) ![Dart version](https://img.shields.io/badge/Dart-v2.12.2-blue?style=flat&logo=Dart) ![Azkark version](https://img.shields.io/badge/Azkark-v1.0.0-green?style=flat) ![Open Source](https://img.shields.io/badge/Open%20Source-%E2%9D%A4-red?style=flat)

## Installation steps

Expand Down
6 changes: 6 additions & 0 deletions lib/util/app_theme.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'colors.dart';

class AppTheme
Expand All @@ -10,6 +11,11 @@ class AppTheme
fontFamily: '0',
primarySwatch: ruby,
scaffoldBackgroundColor: Colors.transparent,
appBarTheme: Theme.of(context)
.appBarTheme
.copyWith(
brightness: Brightness.dark,
),
);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/util/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void copyText(BuildContext context,String text)
{
Clipboard.setData(ClipboardData(text: text));

Scaffold.of(context).showSnackBar(SnackBar(
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text(
translate(context,'done_copy'),
style: new TextStyle(
Expand Down

0 comments on commit ab8859c

Please sign in to comment.