Merge pull request #666 from ente-io/change_log_dismiss
ChangeLog: Disable dismiss on swipe down
This commit is contained in:
commit
9b751bab63
2 changed files with 11 additions and 10 deletions
|
@ -443,6 +443,7 @@ class _HomeWidgetState extends State<HomeWidget> {
|
|||
),
|
||||
),
|
||||
backgroundColor: colorScheme.backgroundElevated,
|
||||
enableDrag: false,
|
||||
barrierColor: backdropMutedDark,
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
|
|
|
@ -41,17 +41,18 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
|
|||
const SizedBox(
|
||||
height: 36,
|
||||
),
|
||||
SafeArea(
|
||||
child: Container(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.0),
|
||||
child: TitleBarTitleWidget(
|
||||
title: "What's new",
|
||||
),
|
||||
Container(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.0),
|
||||
child: TitleBarTitleWidget(
|
||||
title: "What's new",
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
height: 24,
|
||||
),
|
||||
Expanded(child: _getChangeLog()),
|
||||
const DividerWidget(
|
||||
dividerType: DividerType.solid,
|
||||
|
@ -184,15 +185,14 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
|
|||
thumbVisibility: true,
|
||||
thickness: 2.0,
|
||||
child: ListView.builder(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
itemBuilder: (context, index) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(right: 16.0),
|
||||
child: ChangeLogEntryWidget(entry: items[index]),
|
||||
);
|
||||
},
|
||||
physics: const ClampingScrollPhysics(),
|
||||
itemCount: items.length,
|
||||
shrinkWrap: true,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue