mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 20:31:16 +00:00
Set correct value after usage report was accepted (fixes #606).
This commit is contained in:
parent
d47ea8aa68
commit
b75f025238
1 changed files with 1 additions and 1 deletions
|
@ -1055,7 +1055,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
|
|||
public void setUsageReportAccepted(UsageReportSetting value, Activity activity) {
|
||||
int v = 0;
|
||||
switch (value) {
|
||||
case ACCEPTED: v = 1; break;
|
||||
case ACCEPTED: v = 2; break;
|
||||
case DENIED: v = -1; break;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue