From b797234287e0bc3347eb77cd1b954417ee6424e7 Mon Sep 17 00:00:00 2001 From: Shinya Kato Date: Tue, 24 Oct 2023 11:20:38 +0900 Subject: [PATCH] bump up `bluesky_text` --- lib/models/forms/new_post_form.dart | 5 +++-- pubspec.lock | 16 ++++------------ pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/lib/models/forms/new_post_form.dart b/lib/models/forms/new_post_form.dart index ef43876..b65fa13 100644 --- a/lib/models/forms/new_post_form.dart +++ b/lib/models/forms/new_post_form.dart @@ -35,7 +35,8 @@ class NewPostForm { final int? inReplyToId; } -BlueskyText stringToBluesky(String? value) => BlueskyText(value ?? ''); +BlueskyText stringToBluesky(String? value) => + BlueskyText(value ?? '', enableMarkdown: false); String blueskyToString(BlueskyText? text) => text?.value ?? ''; /// Ivory still has code lingering from Tweetbot that handles post IDs as [int] @@ -45,4 +46,4 @@ int? handleReplyId(dynamic value) { if (value is int) return value; if (value is String) return int.tryParse(value); return null; -} \ No newline at end of file +} diff --git a/pubspec.lock b/pubspec.lock index d8c3852..8bd4ee1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -109,10 +109,10 @@ packages: dependency: "direct main" description: name: bluesky_text - sha256: "5bc3dc50f7907bc7ba4729bea72c2ffbb4cc3d19a78629dfafd029492e62c384" + sha256: "1c52365e84e0ec8ce4a4bf46088be870b9aa152c0f825e9e93389900ccd685d4" url: "https://pub.dev" source: hosted - version: "0.4.1" + version: "0.5.15" boolean_selector: dependency: transitive description: @@ -489,14 +489,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - icann_tlds: - dependency: transitive - description: - name: icann_tlds - sha256: c94080902bec5a863ef6fecf5a490d18496a4b4584959fe9933c492a0673b00d - url: "https://pub.dev" - source: hosted - version: "1.0.0" ieee754: dependency: transitive description: @@ -1061,10 +1053,10 @@ packages: dependency: transitive description: name: xrpc - sha256: "1911af773345ab14a80357b894183389542fc6b21b3bb2830b5a622ccee417ac" + sha256: e5bf5bc201734056517bbaeb6558e09f9ac0b601ef0436acf23287cb54417649 url: "https://pub.dev" source: hosted - version: "0.3.1" + version: "0.3.2" xxh3: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index e885e3e..563c691 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: atproto: ^0.6.4 bluesky: ^0.8.11 - bluesky_text: ^0.4.1 + bluesky_text: ^0.5.15 collection: ^1.17.1 copy_with_extension: ^5.0.2 crypto: ^3.0.2