mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
@@ -1,6 +1,6 @@
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:PiliPlus/utils/storage.dart';
|
||||
import 'package:PiliPlus/utils/storage_pref.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -19,10 +19,12 @@ abstract class CommonSlidePageState<T extends CommonSlidePage> extends State<T>
|
||||
AnimationController? _animController;
|
||||
Animation<Offset>? _anim;
|
||||
|
||||
static bool slideDismissReplyPage = Pref.slideDismissReplyPage;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
enableSlide = widget.enableSlide != false && GStorage.slideDismissReplyPage;
|
||||
enableSlide = widget.enableSlide != false && slideDismissReplyPage;
|
||||
if (enableSlide) {
|
||||
_animController = AnimationController(
|
||||
vsync: this,
|
||||
|
||||
Reference in New Issue
Block a user