Adapt status bar color to match app's theme, released 1.2.2+8

This commit is contained in:
Varakh 2021-04-04 10:44:31 +02:00
parent ad10edffd7
commit c5da7ec84d
4 changed files with 12 additions and 3 deletions

View file

@ -1,5 +1,8 @@
# CHANGELOG
## 1.2.2+8
* Adapt status bar color to match app's theme
## 1.2.1+7
* Improve visual differences between the Upload tab and the upload button
* Improved visuals in bottom tab bar

View file

@ -32,7 +32,7 @@ Start by installing dependencies and generating entities!
### Working versions for SDK
```
[✓] Flutter (Channel stable, 1.22.6, on Linux, locale en_US.UTF-8)
[✓] Flutter (Channel stable, 2.0.4, on Linux, locale de_DE.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
```

View file

@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import '../shared/app_colors.dart';
import '../widgets/about_iconbutton.dart';
class MyAppBar extends AppBar {
@ -7,7 +8,12 @@ class MyAppBar extends AppBar {
static final List<Widget> aboutDisabledWidgets = [];
MyAppBar({Key key, Widget title, List<Widget> actionWidgets, bool enableAbout = true})
: super(key: key, title: Row(children: <Widget>[title]), actions: _renderIconButtons(actionWidgets, enableAbout));
: super(
key: key,
title: Row(children: <Widget>[title]),
actions: _renderIconButtons(actionWidgets, enableAbout),
brightness: Brightness.dark,
backgroundColor: primaryAccentColor);
static List<Widget> _renderIconButtons(List<Widget> actionWidgets, bool aboutEnabled) {
if (actionWidgets == null) {

View file

@ -11,7 +11,7 @@ description: A mobile client for FileBin.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.2.1+7
version: 1.2.2+8
environment:
sdk: ">=2.7.0 <3.0.0"