mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Enable web services on Android in Github build (#6555)
* Enable web services in android * Fix web services build on android * clang-format * Remove unnecessary line * Set telemetry to be disabled by default on all platforms
This commit is contained in:
		
							parent
							
								
									2281bf5b0b
								
							
						
					
					
						commit
						72b82ef6ed
					
				
					 8 changed files with 9 additions and 8 deletions
				
			
		|  | @ -803,7 +803,7 @@ void Config::ReadWebServiceValues() { | |||
|     qt_config->beginGroup(QStringLiteral("WebService")); | ||||
| 
 | ||||
|     NetSettings::values.enable_telemetry = | ||||
|         ReadSetting(QStringLiteral("enable_telemetry"), true).toBool(); | ||||
|         ReadSetting(QStringLiteral("enable_telemetry"), false).toBool(); | ||||
|     NetSettings::values.web_api_url = | ||||
|         ReadSetting(QStringLiteral("web_api_url"), QStringLiteral("https://api.citra-emu.org")) | ||||
|             .toString() | ||||
|  |  | |||
|  | @ -145,8 +145,8 @@ void GMainWindow::ShowTelemetryCallout() { | |||
|         tr("<a href='https://citra-emu.org/entry/telemetry-and-why-thats-a-good-thing/'>Anonymous " | ||||
|            "data is collected</a> to help improve Citra. " | ||||
|            "<br/><br/>Would you like to share your usage data with us?"); | ||||
|     if (QMessageBox::question(this, tr("Telemetry"), telemetry_message) != QMessageBox::Yes) { | ||||
|         NetSettings::values.enable_telemetry = false; | ||||
|     if (QMessageBox::question(this, tr("Telemetry"), telemetry_message) == QMessageBox::Yes) { | ||||
|         NetSettings::values.enable_telemetry = true; | ||||
|         Settings::Apply(); | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue