Skip to content

Commit

Permalink
Fixed lint String issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jukefoxer committed Jan 23, 2021
1 parent be3cb14 commit 17c2443
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ private void initViews() {
});
Button chooseFolderButton = findViewById(R.id.selectFolderButton);
chooseFolderButton.setOnClickListener(v -> showChooseBackupLocationDialog());
EditText numDaysEditText = findViewById(R.id.numDaysEditText);
numDaysEditText.setText("" + 30);
}

private void updateDaysEditText() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public static AlertDialog.Builder getWhatsappBackupDialog(Activity activity) {
});

EditText numDaysEditText = checkBoxView.findViewById(R.id.numDaysEditText);
numDaysEditText.setText("" + 30);
numDaysEditText.setOnEditorActionListener(new TextView.OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/activity_standalone_importer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@
android:layout_weight="1"
android:layout_gravity="center"
android:enabled="false"
android:text="30"
android:ems="3"
android:inputType="number" />

Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/dialog_import_whatsapp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
android:layout_gravity="center"
android:layout_margin="20dp"
android:enabled="false"
android:text="30"
android:ems="3"
android:inputType="number" />
</LinearLayout>
Expand Down

0 comments on commit 17c2443

Please sign in to comment.