HaikuDepot: reverse anon-stats yes/no default
When the application starts, it asks the user if they are OK to send anonymous stats to count how many times a package is viewed. This defaults to Yes but this change will swap that so that it defaults to No. Change-Id: I15a165f9352ccd5d7901fc8ef874cb3ab1d0b9f4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/11048 Haiku-Format: Haiku-format Bot <[email protected]> Reviewed-by: nephele nephele <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
@@ -1146,10 +1146,10 @@ MainWindow::_PromptCanShareAnonymousUserData()
|
||||
B_TRANSLATE("Would it be acceptable to send anonymous usage data to the"
|
||||
" HaikuDepotServer system from this computer? You can change your"
|
||||
" preference in the \"Settings\" window later."),
|
||||
B_TRANSLATE("No"), B_TRANSLATE("Yes"));
|
||||
B_TRANSLATE("Yes"), B_TRANSLATE("No"));
|
||||
|
||||
int32 result = alert->Go();
|
||||
fModel.SetCanShareAnonymousUsageData(1 == result);
|
||||
fModel.SetCanShareAnonymousUsageData(0 == result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user