Skip to content

Commit

Permalink
Misc changes
Browse files Browse the repository at this point in the history
Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
  • Loading branch information
sunilpaulmathew committed Apr 15, 2021
1 parent cc8addd commit 798e41d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,7 @@ public void onMove(SeekBarView seekBarView, int position, String value) {
userSync.setSummary(getString(R.string.auto_sync_summary));
userSync.setChecked(ContentResolver.getMasterSyncAutomatically());
userSync.addOnSwitchListener((switchView, isChecked) -> {
if(isChecked) {
ContentResolver.setMasterSyncAutomatically(true);
} else {
ContentResolver.setMasterSyncAutomatically(false);
}
ContentResolver.setMasterSyncAutomatically(isChecked);
});

miscCard.addItem(userSync);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class SmartPackFragment extends RecyclerViewFragment {

private String mPath;

private String logFolder = Utils.getInternalDataStorage() + "/logs";
private final String logFolder = Utils.getInternalDataStorage() + "/logs";

@Override
protected boolean showTopFab() {
Expand Down

0 comments on commit 798e41d

Please sign in to comment.