Skip to content

Commit

Permalink
Communication: Fix text selection crash (#197)
Browse files Browse the repository at this point in the history
* Fix crash related to TextSelection

* Update core modules
  • Loading branch information
anian03 authored Oct 26, 2024
1 parent f93122c commit 94768e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "56012048077ac605e3e4427ea4068452adfc50949f0073b161c8b2050ca8ae9a",
"originHash" : "da5f81e1ea4d3ca4bb9cdba1505f382a0747884879f3fd6ab52e1aea178f1dab",
"pins" : [
{
"identity" : "apollon-ios-module",
Expand All @@ -15,8 +15,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/ls1intum/artemis-ios-core-modules",
"state" : {
"revision" : "1c7b69b8a706ce4fa58d48664a637b63114e4800",
"version" : "14.6.0"
"revision" : "13e3416ec64c8e8670a017d544f668be43ee3188",
"version" : "14.7.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion ArtemisKit/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/Kelvas09/EmojiPicker.git", from: "1.0.0"),
.package(url: "https://github.com/ls1intum/apollon-ios-module", .upToNextMajor(from: "1.0.2")),
.package(url: "https://github.com/ls1intum/artemis-ios-core-modules", .upToNextMajor(from: "14.6.0")),
.package(url: "https://github.com/ls1intum/artemis-ios-core-modules", .upToNextMajor(from: "14.7.0")),
.package(url: "https://github.com/mac-cain13/R.swift.git", from: "7.7.0")
],
targets: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ extension SendMessageViewModel {
}
switch result {
case .success:
selection = nil
text = ""
default:
return
Expand Down

0 comments on commit 94768e3

Please sign in to comment.