Skip to content

Commit

Permalink
removed Helper class and made the function inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikunj-Aggarwal committed Jan 11, 2025
1 parent f6d191e commit 9b5f6b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/org/schabi/newpipe/error/ErrorActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
import org.schabi.newpipe.BuildConfig;
import org.schabi.newpipe.R;
import org.schabi.newpipe.databinding.ActivityErrorBinding;
import org.schabi.newpipe.util.DateTimeHelper;
import org.schabi.newpipe.util.Localization;
import org.schabi.newpipe.util.ThemeHelper;
import org.schabi.newpipe.util.external_communication.ShareUtils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Arrays;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -107,7 +107,7 @@ protected void onCreate(final Bundle savedInstanceState) {

// important add guru meditation
addGuruMeditation();
currentTimeStamp = DateTimeHelper.currentDateToIsoDateFormat();
currentTimeStamp = LocalDateTime.now().format(DateTimeFormatter.ISO_DATE_TIME);

activityErrorBinding.errorReportEmailButton.setOnClickListener(v ->
openPrivacyPolicyDialog(this, "EMAIL"));
Expand Down
20 changes: 0 additions & 20 deletions app/src/main/java/org/schabi/newpipe/util/DateTimeHelper.java

This file was deleted.

0 comments on commit 9b5f6b0

Please sign in to comment.