mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Merge branch 'fix-238' of gitnex/GitNex into master
This commit is contained in:
commit
f68c26b70d
@ -340,13 +340,13 @@ public class CreateIssueActivity extends AppCompatActivity implements View.OnCli
|
||||
|
||||
List<Milestones> milestonesList_ = response.body();
|
||||
|
||||
milestonesList.add(new Milestones(0,"No milestone"));
|
||||
milestonesList.add(new Milestones(0,getString(R.string.issueCreatedNoMilestone)));
|
||||
assert milestonesList_ != null;
|
||||
if(milestonesList_.size() > 0) {
|
||||
for (int i = 0; i < milestonesList_.size(); i++) {
|
||||
|
||||
//String mStone = getString(R.string.spinnerMilestoneText, milestonesList_.get(i).getTitle(), milestonesList_.get(i).getState());
|
||||
if(milestonesList_.get(i).getState().equals(getString(R.string.issueStatusOpen))) {
|
||||
//Don't translate "open" is a enum
|
||||
if(milestonesList_.get(i).getState().equals("open")) {
|
||||
Milestones data = new Milestones(
|
||||
milestonesList_.get(i).getId(),
|
||||
milestonesList_.get(i).getTitle()
|
||||
|
@ -237,6 +237,7 @@
|
||||
<string name="issueDescriptionEmpty">Issue description is empty</string>
|
||||
<string name="issueCreated">New issue created successfully</string>
|
||||
<string name="issueCreatedError">Something went wrong, please try again</string>
|
||||
<string name="issueCreatedNoMilestone">No milestone</string>
|
||||
<string name="noAssigneesFound">No collaborators found</string>
|
||||
<string name="noLabelsFound">No labels found</string>
|
||||
|
||||
|
@ -7,7 +7,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.5.2'
|
||||
classpath 'com.android.tools.build:gradle:3.5.3'
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user