Ezerous
6 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
7 changed files with
7 additions and
10 deletions
-
app/build.gradle
-
app/gradle/grgit.gradle
-
app/src/main/assets/apache_libraries.html
-
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicAdapter.java
-
app/src/main/res/layout/activity_topic_edit_row.xml
-
app/src/main/res/layout/activity_topic_quick_reply_row.xml
-
build.gradle
|
|
@ -13,8 +13,8 @@ android { |
|
|
|
applicationId "gr.thmmy.mthmmy" |
|
|
|
minSdkVersion 19 |
|
|
|
targetSdkVersion 28 |
|
|
|
versionCode 14 |
|
|
|
versionName "1.5.0" |
|
|
|
versionCode 15 |
|
|
|
versionName "1.6.0" |
|
|
|
archivesBaseName = "mTHMMY-v$versionName" |
|
|
|
buildConfigField "String", "CURRENT_BRANCH", "\"" + getCurrentBranch() + "\"" |
|
|
|
buildConfigField "String", "COMMIT_HASH", "\"" + getCommitHash() + "\"" |
|
|
|
|
|
@ -6,7 +6,7 @@ buildscript { |
|
|
|
} |
|
|
|
|
|
|
|
dependencies { |
|
|
|
classpath 'org.ajoberstar.grgit:grgit-core:3.0.0-rc.2' |
|
|
|
classpath 'org.ajoberstar.grgit:grgit-core:3.0.0' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -69,7 +69,7 @@ |
|
|
|
<h5><a href="https://github.com/noties/Markwon">Markwon</a> v2.0.0 (Copyright ©2017 Dimitry Ivanov)</h5> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<h5><a href="https://github.com/ajoberstar/grgit">Grgit</a> v3.0.0-rc.2 (Copyright ©2018 Andrew Oberstar)</h5> |
|
|
|
<h5><a href="https://github.com/ajoberstar/grgit">Grgit</a> v3.0.0 (Copyright ©2018 Andrew Oberstar)</h5> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
@ -651,12 +651,11 @@ class TopicAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> { |
|
|
|
if (reply.getContent() != null) |
|
|
|
replyText += reply.getContent(); |
|
|
|
else { |
|
|
|
if (viewModel.getBuildedQuotes() != null && !viewModel.getBuildedQuotes().isEmpty()) |
|
|
|
replyText += viewModel.getBuildedQuotes(); |
|
|
|
SharedPreferences drafts = context.getSharedPreferences(context.getString(R.string.pref_topic_drafts_key), |
|
|
|
Context.MODE_PRIVATE); |
|
|
|
replyText += drafts.getString(String.valueOf(viewModel.getTopicId()), ""); |
|
|
|
|
|
|
|
if (viewModel.getBuildedQuotes() != null && !viewModel.getBuildedQuotes().isEmpty()) |
|
|
|
replyText += viewModel.getBuildedQuotes(); |
|
|
|
} |
|
|
|
holder.replyEditor.setText(replyText); |
|
|
|
holder.replyEditor.getEditText().setSelection(holder.replyEditor.getText().length()); |
|
|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
@ -11,7 +11,7 @@ buildscript { |
|
|
|
classpath 'com.android.tools.build:gradle:3.2.1' |
|
|
|
classpath 'com.google.gms:google-services:4.1.0' |
|
|
|
classpath 'io.fabric.tools:gradle:1.26.1' |
|
|
|
classpath 'org.ajoberstar.grgit:grgit-core:3.0.0-rc.2' |
|
|
|
classpath 'org.ajoberstar.grgit:grgit-core:3.0.0' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|