mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: appbar theme
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -26,13 +26,8 @@ class _WebviewPageState extends State<WebviewPage> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Obx(
|
||||
() => Text(
|
||||
_webviewController.pageTitle.value,
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
() => Text(_webviewController.pageTitle.value),
|
||||
),
|
||||
actions: [
|
||||
const SizedBox(width: 4),
|
||||
|
||||
@@ -38,7 +38,6 @@ class _WebviewPageNewState extends State<WebviewPageNew> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
titleSpacing: 0,
|
||||
title: StreamBuilder(
|
||||
initialData: null,
|
||||
stream: _titleStream.stream,
|
||||
|
||||
Reference in New Issue
Block a user