mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 00:01:19 +00:00
Merge pull request #1010 from scienmind/master
MainActivity.java: Don't show Usage Reporting dialog if aready decided
This commit is contained in:
commit
28db1c20d2
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ public class MainActivity extends StateDialogActivity
|
||||||
mDrawerFragment.requestGuiUpdate();
|
mDrawerFragment.requestGuiUpdate();
|
||||||
getApi().getSystemInfo(systemInfo -> {
|
getApi().getSystemInfo(systemInfo -> {
|
||||||
if (new Date().getTime() > getFirstStartTime() + USAGE_REPORTING_DIALOG_DELAY &&
|
if (new Date().getTime() > getFirstStartTime() + USAGE_REPORTING_DIALOG_DELAY &&
|
||||||
getApi().getOptions().isUsageReportingDecided(systemInfo.urVersionMax)) {
|
!getApi().getOptions().isUsageReportingDecided(systemInfo.urVersionMax)) {
|
||||||
showUsageReportingDialog();
|
showUsageReportingDialog();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue