Skip to content

Commit

Permalink
Pack 1 de correções da v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Irineu A. Silva committed Nov 15, 2021
1 parent 3090585 commit 29185b0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ android {

dependencies {

//implementation 'com.github.Irineu333:Highlight:1.0.0'
implementation project(":highlight")

implementation 'androidx.appcompat:appcompat:1.3.1'
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/neo/highlightproject/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public Object getSpan() {
}
);

highlight.addSpanType(StrikethroughSpan.class);

binding.edittext.addTextChangedListener(
new HighlightTextWatcher(
highlight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void setHighlight(@NonNull Highlight highlight) {
this.highlight = highlight;
}

enum RANGE_PROCESS {
public enum RANGE_PROCESS {
MODIFIED,
ALL
}
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
jcenter() // Warning: this repository is going to shut down soon
}
}
Expand Down

0 comments on commit 29185b0

Please sign in to comment.