mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix(app-bar): title not hiding completely (#1376)
This commit is contained in:
parent
2dc92e26d3
commit
d577e97758
@ -38,13 +38,11 @@ class _AppSelectorViewState extends State<AppSelectorView> {
|
|||||||
floating: true,
|
floating: true,
|
||||||
title: I18nText(
|
title: I18nText(
|
||||||
'appSelectorView.viewTitle',
|
'appSelectorView.viewTitle',
|
||||||
child: Text(
|
),
|
||||||
'',
|
titleTextStyle: TextStyle(
|
||||||
style: TextStyle(
|
fontSize: 22.0,
|
||||||
color: Theme.of(context).textTheme.titleLarge!.color,
|
color: Theme.of(context).textTheme.titleLarge!.color,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
),
|
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.arrow_back,
|
Icons.arrow_back,
|
||||||
|
@ -62,12 +62,10 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
|
|||||||
floating: true,
|
floating: true,
|
||||||
title: I18nText(
|
title: I18nText(
|
||||||
'patchesSelectorView.viewTitle',
|
'patchesSelectorView.viewTitle',
|
||||||
child: Text(
|
),
|
||||||
'',
|
titleTextStyle: TextStyle(
|
||||||
style: TextStyle(
|
fontSize: 22.0,
|
||||||
color: Theme.of(context).textTheme.titleLarge!.color,
|
color: Theme.of(context).textTheme.titleLarge!.color,
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
@ -80,24 +78,19 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
FittedBox(
|
Container(
|
||||||
fit: BoxFit.scaleDown,
|
margin: const EdgeInsets.symmetric(vertical: 12),
|
||||||
child: Container(
|
padding: const EdgeInsets.symmetric(horizontal: 6),
|
||||||
margin: const EdgeInsets.only(top: 12, bottom: 12),
|
decoration: BoxDecoration(
|
||||||
padding:
|
color:
|
||||||
const EdgeInsets.symmetric(horizontal: 6, vertical: 6),
|
Theme.of(context).colorScheme.tertiary.withOpacity(0.5),
|
||||||
decoration: BoxDecoration(
|
borderRadius: BorderRadius.circular(6),
|
||||||
color: Theme.of(context)
|
),
|
||||||
.colorScheme
|
alignment: Alignment.center,
|
||||||
.tertiary
|
child: Text(
|
||||||
.withOpacity(0.5),
|
model.patchesVersion!,
|
||||||
borderRadius: BorderRadius.circular(6),
|
style: TextStyle(
|
||||||
),
|
color: Theme.of(context).textTheme.titleLarge!.color,
|
||||||
child: Text(
|
|
||||||
model.patchesVersion!,
|
|
||||||
style: TextStyle(
|
|
||||||
color: Theme.of(context).textTheme.titleLarge!.color,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -294,7 +287,9 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
|
|||||||
_managerAPI.isPatchesChangeEnabled(),
|
_managerAPI.isPatchesChangeEnabled(),
|
||||||
hasUnsupportedPatchOption:
|
hasUnsupportedPatchOption:
|
||||||
hasUnsupportedRequiredOption(
|
hasUnsupportedRequiredOption(
|
||||||
patch.options, patch),
|
patch.options,
|
||||||
|
patch,
|
||||||
|
),
|
||||||
options: patch.options,
|
options: patch.options,
|
||||||
isSelected: model.isSelected(patch),
|
isSelected: model.isSelected(patch),
|
||||||
navigateToOptions: (options) =>
|
navigateToOptions: (options) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user