Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
d8ceefef86 | |||
48d74a65b3 | |||
ef07302c85 |
@ -6,8 +6,8 @@ android {
|
||||
applicationId "org.mian.gitnex"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 310
|
||||
versionName "3.1.0"
|
||||
versionCode 311
|
||||
versionName "3.1.1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
buildFeatures {
|
||||
|
@ -141,6 +141,8 @@ public class AddNewAccountActivity extends BaseActivity {
|
||||
|
||||
assert version != null;
|
||||
|
||||
tinyDB.putString("giteaVersion", version.getVersion());
|
||||
|
||||
try {
|
||||
giteaVersion = new Version(version.getVersion());
|
||||
}
|
||||
|
@ -280,6 +280,8 @@ public class LoginActivity extends BaseActivity {
|
||||
|
||||
assert version != null;
|
||||
|
||||
tinyDB.putString("giteaVersion", version.getVersion());
|
||||
|
||||
try {
|
||||
gitea_version = new Version(version.getVersion());
|
||||
}
|
||||
|
@ -104,7 +104,12 @@ public class ReplyToIssueActivity extends BaseActivity {
|
||||
}
|
||||
else {
|
||||
|
||||
draftIdOnCreate = returnDraftId();
|
||||
if(getIntent().getStringExtra("commentBody") != null) {
|
||||
draftIdOnCreate = returnDraftId(getIntent().getStringExtra("commentBody"));
|
||||
}
|
||||
else {
|
||||
draftIdOnCreate = returnDraftId("");
|
||||
}
|
||||
}
|
||||
|
||||
replyButton = findViewById(R.id.replyButton);
|
||||
@ -216,7 +221,7 @@ public class ReplyToIssueActivity extends BaseActivity {
|
||||
|
||||
}
|
||||
|
||||
private long returnDraftId() {
|
||||
private long returnDraftId(String draftText) {
|
||||
|
||||
TinyDB tinyDb = new TinyDB(getApplicationContext());
|
||||
|
||||
@ -226,7 +231,7 @@ public class ReplyToIssueActivity extends BaseActivity {
|
||||
|
||||
DraftsApi draftsApi = new DraftsApi(appCtx);
|
||||
|
||||
return draftsApi.insertDraft(repositoryId, currentActiveAccountId, issueNumber, "", StaticGlobalVariables.draftTypeComment, "");
|
||||
return draftsApi.insertDraft(repositoryId, currentActiveAccountId, issueNumber, draftText, StaticGlobalVariables.draftTypeComment, "");
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,16 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<changelog>
|
||||
|
||||
<release version="3.1.0" versioncode="310">
|
||||
<change>Multiple accounts support</change>
|
||||
<change>New Retro theme</change>
|
||||
<change>Delete OR Edit a file</change>
|
||||
<change>Repository forks</change>
|
||||
<change>Markdown support in file viewer</change>
|
||||
<change>New Progress indicators</change>
|
||||
<change>Create drafts per edit and improve it's UI</change>
|
||||
<change>Enhance App UI across all screens</change>
|
||||
<change>Copy repo / org / issue comment url to clipboard</change>
|
||||
<release version="3.1.1" versioncode="311">
|
||||
<change>Bugfix: Fix crash on new login</change>
|
||||
<change>Bugfix: Fix new drafts for issue comments</change>
|
||||
</release>
|
||||
|
||||
</changelog>
|
||||
|
6
fastlane/metadata/android/en-US/changelogs/311.txt
Normal file
6
fastlane/metadata/android/en-US/changelogs/311.txt
Normal file
@ -0,0 +1,6 @@
|
||||
3.1.1
|
||||
|
||||
Bugfix: Fix crash on new login
|
||||
Bugfix: Fix new drafts for issue comments
|
||||
|
||||
Release Notes: https://codeberg.org/gitnex/GitNex/releases
|
Reference in New Issue
Block a user