mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-09-07 19:46:06 +00:00
Compare commits
2 commits
fc120053f2
...
ae412cc407
Author | SHA1 | Date | |
---|---|---|---|
|
ae412cc407 | ||
|
91e6a4f6a2 |
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
import 'package:flutter/cupertino.dart' as cupertino;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
|
||||
import 'package:mobile_nebula/services/utils.dart';
|
||||
|
@ -99,7 +98,7 @@ class SimplePage extends StatelessWidget {
|
|||
}
|
||||
|
||||
return PlatformScaffold(
|
||||
backgroundColor: cupertino.CupertinoColors.systemGroupedBackground.resolveFrom(context),
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
appBar: PlatformAppBar(
|
||||
title: title,
|
||||
leading: leadingAction != null ? leadingAction : Utils.leadingBackWidget(context),
|
||||
|
|
|
@ -157,7 +157,7 @@ class _MainScreenState extends State<MainScreen> {
|
|||
trailingActions: <Widget>[
|
||||
PlatformIconButton(
|
||||
padding: EdgeInsets.zero,
|
||||
icon: Icon(Icons.menu, size: 28.0),
|
||||
icon: Icon(Icons.adaptive.more, size: 28.0),
|
||||
onPressed: () => Utils.openPage(context, (_) => SettingsScreen(widget.dnEnrollStream)),
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue