fix windows

pull/28/head^2
Niko PLP 4 months ago
parent ce2aeb326f
commit 760e63214a
  1. 2
      ng-app/src/api.ts
  2. 6
      ng-app/src/lib/NoWallet.svelte

@ -73,7 +73,7 @@ const handler = {
switch (tauri_platform) { switch (tauri_platform) {
case 'macos': client_type = "NativeMacOS";break; case 'macos': client_type = "NativeMacOS";break;
case 'linux': client_type = "NativeLinux";break; case 'linux': client_type = "NativeLinux";break;
case 'windows': client_type = "NativeWindows";break; case 'windows': client_type = "NativeWin";break;
case 'android': client_type = "NativeAndroid";break; case 'android': client_type = "NativeAndroid";break;
case 'ios': client_type = "NativeIos";break; case 'ios': client_type = "NativeIos";break;
} }

@ -36,10 +36,10 @@
<a href="/wallet/create" use:link> <a href="/wallet/create" use:link>
<button <button
tabindex="-1" tabindex="-1"
class="text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-700/50 font-medium rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55 mr-2 mb-2" class="text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-700/50 font-medium rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55 mb-2"
> >
<svg <svg
class="w-8 h-8 mr-2 -ml-1" class="w-8 h-8 -ml-1"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"
stroke-width="1.5" stroke-width="1.5"
@ -61,7 +61,7 @@
<a href="/wallet/login" use:link> <a href="/wallet/login" use:link>
<button <button
tabindex="-1" tabindex="-1"
class="text-primary-700 bg-primary-100 hover:bg-primary-100/90 focus:ring-4 focus:ring-primary-100/50 font-medium rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-100/55 mr-2 mb-2" class="text-primary-700 bg-primary-100 hover:bg-primary-100/90 focus:ring-4 focus:ring-primary-100/50 font-medium rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-100/55 mb-2"
> >
<svg <svg
class="w-8 h-8 mr-2 -ml-1" class="w-8 h-8 mr-2 -ml-1"

Loading…
Cancel
Save