Compare commits

..

3 Commits

Author SHA1 Message Date
DecDuck
fe4f295fcd fix: style and capability 2025-12-01 08:42:26 +11:00
DecDuck
1f809063ef fix: fetching versions from server 2025-12-01 08:35:43 +11:00
DecDuck
f41df6531c Fix server error messages 2025-11-30 23:13:01 +11:00
3 changed files with 5 additions and 10 deletions

View File

@@ -38,7 +38,7 @@
>
<dt>
<DisclosureButton
class="flex w-full items-center justify-between text-left text-gray-900 dark:text-white"
class="flex w-full items-center justify-between text-left text-white"
>
<span class="text-sm font-semibold font-display">{{
nav.name
@@ -73,9 +73,9 @@
alt=""
/>
</div>
<div class="truncate inline-flex items-center gap-x-2">
<div class="flex flex-col gap-x-2">
<p
class="text-sm whitespace-nowrap font-display font-semibold"
class="truncate text-sm whitespace-nowrap font-display font-semibold"
>
{{ item.label }}
</p>

View File

@@ -106,8 +106,8 @@ pub fn auth_initiate_logic(mode: String) -> Result<String, RemoteAccessError> {
name: format!("{} (Desktop)", hostname.display()),
platform: env::consts::OS.to_string(),
capabilities: HashMap::from([
("PeerAPI".to_owned(), CapabilityConfiguration {}),
("CloudSaves".to_owned(), CapabilityConfiguration {}),
("peerAPI".to_owned(), CapabilityConfiguration {}),
("cloudSaves".to_owned(), CapabilityConfiguration {}),
]),
mode,
};

View File

@@ -224,11 +224,6 @@ pub async fn fetch_game_version_options_logic(
return Err(RemoteAccessError::InvalidResponse(err));
}
let raw = response.text().await?;
info!("{}", raw);
return Err(RemoteAccessError::CorruptedState);
let data: Vec<GameVersion> = response.json().await?;
let state_lock = state.lock();