Skip to content

Commit

Permalink
Merge pull request #57 from myConsciousness/bump-up-bluesky-text
Browse files Browse the repository at this point in the history
bump up `bluesky_text`
  • Loading branch information
videah authored Nov 1, 2023
2 parents 0a70bd0 + 3fa5357 commit 306db0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
5 changes: 3 additions & 2 deletions lib/models/forms/new_post_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -45,4 +46,4 @@ int? handleReplyId(dynamic value) {
if (value is int) return value;
if (value is String) return int.tryParse(value);
return null;
}
}
12 changes: 2 additions & 10 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ packages:
dependency: "direct main"
description:
name: bluesky_text
sha256: "2087c159d60e17c93c2f813daafaa4eb4bcb5316472ed660c0dd0af5fce565ba"
sha256: "1c52365e84e0ec8ce4a4bf46088be870b9aa152c0f825e9e93389900ccd685d4"
url: "https://pub.dev"
source: hosted
version: "0.4.3"
version: "0.5.15"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
atproto: ^0.7.2
bluesky: ^0.9.3
bluesky_text: ^0.4.1
bluesky_text: ^0.5.15
collection: ^1.17.1
copy_with_extension: ^5.0.2
crypto: ^3.0.2
Expand Down

0 comments on commit 306db0e

Please sign in to comment.