Skip to content

Commit

Permalink
🚀 Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Jun 14, 2023
1 parent fbe25c6 commit 8fc4cfc
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ci/version.code.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.7.4
v1.7.5
7 changes: 4 additions & 3 deletions ci/version.info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
v1.7.4
- [x] ♻️ 优化发电
- [x] ♻️ 优化设置
v1.7.5
- [x] ♻️ 评论回复的长按复制
- [x] ♻️ 优化PAT入会
- [x] ♻️ 优化了一个设置项
1 change: 1 addition & 0 deletions lib/basic/config/IconLoading.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Widget iconLoadingSetting() {
builder: (BuildContext context, void Function(void Function()) setState) {
return ListTile(
title: const Text("尽量减少UI动画"),
subtitle: Text(_iconLoading ? "是" : "否"),
onTap: () async {
await _chooseIconLoading(context);
setState(() {});
Expand Down
6 changes: 0 additions & 6 deletions lib/screens/AppScreen.dart
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import 'dart:async';
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter_styled_toast/flutter_styled_toast.dart';
import 'package:pikapika/basic/config/Version.dart';
import 'package:pikapika/basic/config/WillPopNotice.dart';
import 'package:pikapika/screens/components/Badge.dart';
import 'package:uni_links/uni_links.dart';
import 'package:uri_to_file/uri_to_file.dart';

import '../basic/Common.dart';
import 'CategoriesScreen.dart';
import 'PkzArchiveScreen.dart';
import 'SpaceScreen.dart';

// MAIN UI 底部导航栏
Expand Down
1 change: 1 addition & 0 deletions lib/screens/ProScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ class _ProScreenState extends State<ProScreen> {
defaultToast(context, "请稍后");
try {
await method.bindThisAccount();
await method.reloadPatAccount();
await reloadIsPro();
defaultToast(context, "SUCCESS");
} catch (e) {
Expand Down
8 changes: 7 additions & 1 deletion lib/screens/components/CommentItem.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:pikapika/basic/Common.dart';
import 'package:pikapika/basic/Entities.dart';
import 'package:pikapika/basic/Method.dart';

import '../../basic/Cross.dart';
import 'Avatar.dart';
import 'CommentMainType.dart';

Expand Down Expand Up @@ -174,7 +175,12 @@ class _ComicCommentItemState extends State<ComicCommentItem> {
},
),
Container(height: 5),
Text(comment.content, style: connectStyle),
GestureDetector(
onLongPress: () {
confirmCopy(context, comment.content);
},
child: Text(comment.content, style: connectStyle),
),
],
),
),
Expand Down

0 comments on commit 8fc4cfc

Please sign in to comment.