Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lollipopkit committed Jul 18, 2024
1 parent ef8bbaf commit f9b7321
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 247;
CURRENT_PROJECT_VERSION = 256;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down Expand Up @@ -512,7 +512,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 247;
CURRENT_PROJECT_VERSION = 256;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -537,7 +537,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 247;
CURRENT_PROJECT_VERSION = 256;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand Down
2 changes: 1 addition & 1 deletion lib/data/model/chat/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ final class ChatConfig {

String get displayName => switch (id) {
defaultId when name.isEmpty => l10n.defaulT,
_ => name,
_ => name,
};

void save() => Stores.config.put(this);
Expand Down
2 changes: 1 addition & 1 deletion lib/data/res/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

class Build {
static const String name = "GPTBox";
static const int build = 247;
static const int build = 256;
}
1 change: 0 additions & 1 deletion lib/view/page/home/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ class _ChatPageState extends State<_ChatPage>
// && Stores.setting.replay.fetch()
final replayEnabled = chatItem.role.isUser;


return [
Btn(
onTap: () => _MarkdownCopyPage.go(context, chatItem),
Expand Down
10 changes: 9 additions & 1 deletion lib/view/page/tool.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@ class _ToolPageState extends State<ToolPage> {
leading: const Icon(Bootstrap.regex),
title: Text(l10n.regExp),
subtitle: Text(l10n.modelRegExpTip, style: UIs.textGrey),
trailing: listenable.listenVal((val) => Text(val, style: UIs.textGrey)),
trailing: SizedBox(
width: 60,
child: listenable.listenVal((val) => Text(
val,
style: UIs.textGrey,
maxLines: 2,
overflow: TextOverflow.ellipsis,
)),
),
onTap: () {
final ctrl = TextEditingController(text: listenable.value);
void onSave(String v) {
Expand Down
7 changes: 4 additions & 3 deletions lib/view/widget/image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ class _ImageCardState extends State<ImageCard> {
provider = (switch (imageUrl) {
_ when imageUrl.startsWith('http') =>
ExtendedNetworkImageProvider(imageUrl, cache: true),
_ when imageUrl.startsWith('assets') => ExtendedAssetImageProvider(imageUrl),
_ when imageUrl.startsWith('assets') =>
ExtendedAssetImageProvider(imageUrl),
_ => ExtendedFileImageProvider(File(imageUrl)),
})as ImageProvider;
}) as ImageProvider;
}

@override
Expand All @@ -65,7 +66,7 @@ class _ImageCardState extends State<ImageCard> {
);
return;
}

final ret = await Routes.image.go(
context,
args: ImagePageArgs(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: gpt_box
description: "A third-party GPT Client for OpenAI API."
publish_to: 'none'
version: 1.0.247+247
version: 1.0.256+256

environment:
sdk: '>=3.3.0 <4.0.0'
Expand Down

0 comments on commit f9b7321

Please sign in to comment.