Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(ensu): refresh branding, theme, and sign-in UX

Prateek Sunal929b694c4002
diff --git a/mobile/native/android/apps/ensu/app-ui/build.gradle.kts b/mobile/native/android/apps/ensu/app-ui/build.gradle.kts
index 0399c11119..5db66167c7 100644
--- a/mobile/native/android/apps/ensu/app-ui/build.gradle.kts
+++ b/mobile/native/android/apps/ensu/app-ui/build.gradle.kts
@@ -51,7 +51,7 @@ android {
applicationId = "io.ente.ensu"
minSdk = 24
targetSdk = 35
- versionCode = 14
+ versionCode = 17
versionName = "0.1.2"
buildConfigField("String", "API_ENDPOINT", "\"$apiEndpointOverride\"")
}
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/assets/ensu-logo.svg b/mobile/native/android/apps/ensu/app-ui/src/main/assets/ensu-logo.svg
index f6d5e5709b..0666b6d2cc 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/assets/ensu-logo.svg
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/assets/ensu-logo.svg
@@ -1,6 +1,6 @@
-<svg width="135" height="40" viewBox="0 0 135 40" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M58.1279 0.714844C59.5808 0.71489 60.8058 1.23858 61.623 2.37598C62.3964 3.45228 62.705 4.94425 62.7051 6.69336L62.6982 7.12109C62.6672 8.1704 62.5277 9.59137 62.29 11.3633L62.2891 11.373L60.2979 25.1289C59.9072 27.8639 59.7178 29.9853 59.7178 31.5137C59.7178 32.0145 59.7818 32.2914 59.834 32.4238C60.2542 32.3861 60.9226 32.0663 61.8555 31.0566C62.8205 30.0121 63.9186 28.3957 65.1436 26.1641L65.6523 25.2363L66.5498 25.7979C67.1673 26.1838 67.8184 26.7714 67.8975 27.6162L67.9053 27.7891L67.8994 27.9912C67.8465 29.0046 67.4017 30.0546 66.709 31.1123C66.0556 32.1098 65.137 33.1812 63.9746 34.3262L63.4619 34.8213C62.0644 36.1433 60.763 37.1667 59.5605 37.8643C58.3656 38.5575 57.2026 38.9677 56.0996 38.9678C54.8677 38.9678 53.8164 38.5052 53.1211 37.5068C52.4715 36.5741 52.2227 35.299 52.2227 33.8369C52.2227 31.7496 52.4891 28.9039 53.0078 25.3223L54.2979 16.3975C54.7131 13.5153 54.915 11.271 54.915 9.64453C54.915 8.75862 54.7549 8.27161 54.5869 8.03027C54.4647 7.85485 54.2894 7.7305 53.8867 7.73047C51.219 7.73047 48.2817 9.55102 45.0947 13.752L45.0938 13.751C41.9726 17.8729 40.1689 22.2784 39.6494 26.9766V26.9785L38.5869 36.4189L30.9912 39.5283L31.5762 34.0986V34.0928L31.8711 31.5127L33.7891 14.4004L34.0098 12.4551C34.1554 10.9485 34.2256 9.75725 34.2256 8.87012C34.2256 8.13471 34.1283 7.73139 34.0361 7.54688C34.0288 7.5322 34.0203 7.52118 34.0146 7.51172C33.4918 7.52323 32.7914 7.82795 31.9043 8.76465C31.0097 9.70928 30.0372 11.1801 29 13.2305L28.4355 14.3467L27.4707 13.5498C27.1484 13.2836 26.863 12.9999 26.6514 12.6963C26.442 12.3959 26.2598 12.0096 26.2598 11.5615C26.2599 10.5368 26.7169 9.46822 27.4336 8.39648C28.1609 7.30894 29.224 6.1167 30.5928 4.82324C31.974 3.51743 33.2402 2.5062 34.3877 1.81641C35.5217 1.13475 36.625 0.714948 37.6592 0.714844C38.9452 0.714844 40.0642 1.1387 40.8262 2.11328C41.5514 3.04098 41.831 4.31647 41.8311 5.77148C41.8311 6.51086 41.7651 7.47261 41.6406 8.64258L41.3467 11.623L41.3457 11.6328L41.3447 11.6416L41.1914 12.9443C43.5116 9.92831 45.9957 7.33834 48.6455 5.18066C52.1588 2.31539 55.3376 0.714844 58.1279 0.714844ZM63.6572 33.2275C63.6763 33.2087 63.6953 33.19 63.7139 33.1709L63.7422 33.1416C63.7142 33.1704 63.6855 33.1986 63.6572 33.2275ZM59.0498 26.9424C59.0333 27.0805 59.0192 27.2171 59.0039 27.3516C59.0235 27.1798 59.0429 27.0049 59.0645 26.8271L59.0498 26.9424ZM32.0732 7.26758C32.1539 7.20702 32.2352 7.14997 32.3154 7.09668C32.3205 7.09333 32.325 7.08926 32.3301 7.08594C32.2447 7.14227 32.1592 7.20299 32.0732 7.26758ZM32.457 7.00488C32.4358 7.01787 32.4148 7.03142 32.3936 7.04492C32.4748 6.99326 32.5559 6.94553 32.6367 6.90137L32.457 7.00488Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M19.9561 0.714844C21.6289 0.714875 23.0624 1.16738 24.0625 2.24121C25.0499 3.30159 25.455 4.79855 25.4551 6.5459C25.4551 10.5148 23.5174 14.2854 19.8809 17.8457C16.4514 21.226 12.3048 23.6248 7.46387 25.0537C7.75489 27.4922 8.39211 29.2302 9.29004 30.3691C10.2461 31.5818 11.5703 32.21 13.3916 32.21C16.9868 32.2098 20.0934 29.9482 22.6377 24.8359L23.1484 23.8096L24.0957 24.4541C24.8884 24.9932 25.4549 25.7586 25.4551 26.7559C25.4551 27.4256 25.1313 28.1422 24.7207 28.8223C24.2877 29.5393 23.6593 30.3724 22.8555 31.3145L22.8516 31.3193C18.5644 36.2833 14.1574 38.9677 9.62988 38.9678C6.98921 38.9678 4.76115 37.968 3.00391 36.0156L2.6582 35.6123C0.861924 33.4077 6.04278e-05 30.6254 0 27.3467C0 21.4755 2.21782 15.6038 6.53906 9.75C10.8478 3.92212 15.312 0.714844 19.9561 0.714844ZM7.05469 19.9844C7.08204 19.9918 7.10957 19.9979 7.13672 20.0049C7.02486 19.9761 6.91111 19.9447 6.7959 19.9092L7.05469 19.9844ZM15.5303 7.50977C13.8793 7.50979 12.2286 8.48039 10.6045 10.8701C9.14101 13.0342 8.14218 15.7641 7.64062 19.0957C7.95096 19.1606 8.23212 19.1914 8.48633 19.1914C11.3125 19.1914 13.7547 18.3318 15.8564 16.6143C17.9564 14.8981 18.9189 12.9772 18.9189 10.8242C18.9189 9.54443 18.5952 8.7669 18.1211 8.30078C17.6439 7.83159 16.8432 7.50977 15.5303 7.50977ZM15.4424 18.1572C15.4992 18.1196 15.5579 18.0846 15.6143 18.0459L15.6416 18.0264C15.5761 18.0716 15.5085 18.1134 15.4424 18.1572ZM19.9189 10.8242L19.915 10.5586C19.9143 10.5363 19.912 10.5142 19.9111 10.4922C19.9156 10.6007 19.9189 10.7113 19.9189 10.8242ZM12.1484 7.71094C11.9119 7.88895 11.6787 8.08713 11.4482 8.30469L11.7969 7.99316C11.9135 7.89441 12.0303 7.79983 12.1484 7.71094Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M85.3828 0.714844C87.2121 0.714844 89.1673 1.01467 91.2422 1.59961L92.1387 1.86816L93.7803 2.38672L87.4785 8.21484L86.8115 7.71484C85.1121 6.44031 83.2439 5.8125 81.1787 5.8125C79.9535 5.81254 79.2205 6.07279 78.8047 6.41992C78.4236 6.73824 78.1592 7.25686 78.1592 8.16895L78.1709 8.375C78.2288 8.88722 78.4994 9.61542 79.1191 10.5938C79.7265 11.5525 80.6188 12.673 81.8125 13.959L82.3428 14.5205L82.3506 14.5283L84.6299 16.9551C86.3564 18.7567 87.6843 20.4155 88.585 21.9297C89.48 23.4344 89.9971 24.8698 89.9971 26.2031L89.9922 26.5273C89.8903 29.8616 88.2131 32.7596 85.1602 35.207L85.1562 35.2109C82.0002 37.7148 78.3497 38.9678 74.2451 38.9678C71.5057 38.9677 68.9196 38.347 66.5 37.1084L66.0186 36.8516L64.7236 36.1387L71.6797 30.4434L72.3193 31.124C74.0404 32.9553 76.1822 33.87 78.8184 33.8701C80.443 33.8701 81.477 33.4776 82.1074 32.8691C82.7313 32.267 83.1289 31.2886 83.1289 29.7432C83.1288 29.0644 82.8305 28.1184 82.0605 26.8643C81.3001 25.6256 80.1348 24.1742 78.5391 22.5059L76.4395 20.333L76.4355 20.3291C74.8684 18.6867 73.6606 17.1683 72.8398 15.7764C72.0243 14.3932 71.5489 13.0642 71.5488 11.8203C71.5488 8.62943 72.9456 5.95433 75.6172 3.84375L75.6211 3.84082C78.3053 1.7413 81.5798 0.71492 85.3828 0.714844ZM73.7314 37.96L74.2451 37.9678C73.9059 37.9678 73.5693 37.9567 73.2354 37.9365C73.4001 37.9465 73.5654 37.9549 73.7314 37.96ZM72.6387 10.5166C72.6302 10.5765 72.6235 10.6369 72.6162 10.6973C72.6338 10.5515 72.6541 10.4069 72.6787 10.2637L72.6387 10.5166ZM73.1572 8.56934C73.1459 8.59744 73.136 8.62608 73.125 8.6543L73.208 8.4502L73.1572 8.56934Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M130.538 1.76562C129.856 4.59298 129.346 7.10548 129.007 9.30566L129.008 9.30664L126.794 24.7217C126.672 25.648 126.576 26.426 126.503 27.0557L126.502 27.0674L126.244 29.085C126.097 30.3392 126.03 31.1726 126.03 31.624C126.03 31.8447 126.046 32.0131 126.068 32.1357C126.073 32.1603 126.079 32.1818 126.084 32.2012C126.703 32.1435 127.455 31.7637 128.342 30.7998C129.306 29.7516 130.328 28.1213 131.39 25.8525L131.857 24.8545L132.806 25.417C133.451 25.7998 134.192 26.3961 134.282 27.2773L134.291 27.457L134.286 27.6084C134.261 27.9616 134.152 28.3164 134.016 28.6475C133.854 29.0383 133.624 29.4671 133.34 29.9277C132.772 30.848 131.939 31.9698 130.858 33.2861L130.859 33.2871C127.944 36.8753 125.017 38.9677 122.08 38.9678C120.936 38.9678 119.934 38.5677 119.259 37.6611C118.625 36.8098 118.388 35.6532 118.388 34.3535C118.388 33.5267 118.481 32.4561 118.655 31.1592V31.1562L119.061 28.2061C119.153 27.5406 119.229 26.9638 119.296 26.4785C117.073 29.4082 114.654 31.9942 112.034 34.2295C108.501 37.2437 105.394 38.9677 102.792 38.9678C101.331 38.9678 100.09 38.4653 99.2539 37.3506C98.4584 36.2899 98.1406 34.8184 98.1406 33.0996C98.1406 31.8319 98.3071 29.8025 98.627 27.0469L99.9541 14.9561L99.9561 14.9404L99.958 14.9238C99.9768 14.7921 100.036 14.1247 100.136 12.8486L100.137 12.835L100.357 10.4375L100.358 10.4268C100.43 9.73938 100.464 9.1348 100.464 8.61133C100.464 7.96088 100.366 7.63408 100.291 7.50195C100.284 7.48925 100.277 7.48012 100.272 7.47363C100.266 7.47309 100.258 7.47266 100.247 7.47266C99.7051 7.4727 98.9782 7.77938 98.0557 8.74121C97.1429 9.69293 96.1493 11.1737 95.0879 13.2363L94.5322 14.3164L93.5791 13.5635C92.9787 13.0894 92.498 12.4367 92.498 11.5986C92.4981 10.5533 92.9551 9.46825 93.6807 8.37988C94.4153 7.27788 95.4885 6.07778 96.8711 4.7832L96.875 4.78027C98.2698 3.48604 99.5527 2.48474 100.72 1.80176C101.875 1.12547 102.996 0.714844 104.046 0.714844C105.322 0.714871 106.417 1.17054 107.15 2.17773C107.841 3.12585 108.106 4.42622 108.106 5.91895C108.106 6.62967 108.054 7.44324 107.953 8.35352L107.952 8.3584L107.621 11.1885L107.29 14.2871L107.289 14.292L106.109 24.8389C105.917 26.5961 105.82 28.3789 105.82 30.1865L105.827 30.4521C105.857 31.0331 105.981 31.3463 106.095 31.5C106.183 31.6191 106.324 31.7305 106.701 31.7305C107.809 31.7305 109.085 31.2746 110.547 30.208C112.009 29.1418 113.598 27.5076 115.311 25.2646L115.312 25.2617C118.752 20.7882 120.74 16.4207 121.349 12.1572L122.689 2.80957L130.965 0L130.538 1.76562ZM129.56 33.2822C129.532 33.3146 129.504 33.3469 129.477 33.3789C129.499 33.3526 129.523 33.3273 129.546 33.3008C129.562 33.2818 129.577 33.2615 129.593 33.2422C129.581 33.2554 129.571 33.2691 129.56 33.2822ZM126.111 33.2031L126.308 33.1836C126.32 33.1819 126.332 33.1784 126.344 33.1758C126.266 33.1875 126.189 33.1978 126.111 33.2031ZM125.311 32.9072C125.318 32.9173 125.326 32.926 125.334 32.9355C125.305 32.8984 125.277 32.8582 125.252 32.8135L125.311 32.9072ZM129.078 31.4766L129.277 31.2539C129.286 31.2445 129.293 31.2345 129.301 31.2246C129.226 31.3112 129.153 31.3957 129.078 31.4766ZM132.583 26.4639C132.565 26.4507 132.548 26.4365 132.529 26.4238C132.518 26.4163 132.506 26.4098 132.495 26.4023C132.526 26.4225 132.554 26.4437 132.583 26.4639Z" fill="white"/>
+<svg width="906" height="255" viewBox="0 0 906 255" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M82.9898 168.936C90.6299 163.412 102.031 165.096 111.043 164.039C130.28 162.941 149.87 161.649 168.716 160.708C180.822 160.003 193.242 159.494 204.683 155.066C238.104 142.49 238.652 104.25 225.488 74.7864C191.401 -6.94309 85.8108 -17.9918 29.5874 45.0488C-5.2828 83.9546 -9.00491 148.562 16.6972 193.737C31.7423 220.34 56.5041 239.969 85.0272 248.667C122.444 259.52 166.443 254.662 198.571 231.428C216.75 219.087 229.837 198.909 215.967 178.183C209.502 168.505 197.278 165.449 186.778 168.975C178.942 171.287 171.654 175.988 164.367 179.789C156.256 184.099 147.676 187.429 138.665 189.114C122.718 191.974 104.735 191.739 90.434 184.138C85.4189 181.709 77.6221 174.186 82.8722 169.054L82.9898 168.936ZM74.9187 103.897L74.762 103.78C68.8458 99.4307 73.0381 89.6357 77.3479 84.8949C93.5292 65.8534 124.168 62.3272 146.226 72.9058C154.219 76.7455 170.4 89.2439 162.564 99.1564C159.587 102.291 153.435 103.231 147.206 103.584C141.838 103.897 136.157 104.171 130.241 104.485C120.172 104.994 109.828 105.543 99.798 106.052C92.1579 106.248 80.4039 108.05 74.9187 103.976V103.897Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M434.276 38.8172C405.674 7.86494 357.444 -2.8312 314.267 12.1356C313.954 12.2531 313.68 12.3706 313.366 12.4882C307.646 5.55331 299.222 0.890877 289.545 0.107277C270.582 -1.38156 254.008 12.8016 252.52 31.7647L238.767 207.409C237.279 226.372 251.462 242.945 270.425 244.434C289.388 245.923 305.961 231.74 307.45 212.776L316.226 100.604C317.323 86.8126 328.02 80.2696 336.835 77.2136C353.722 71.3366 373.86 74.9411 383.694 85.5589C390.198 92.5721 393.92 107.813 393.646 126.345C393.333 150.128 386.633 178.886 374.8 207.33C367.513 224.883 375.819 245.061 393.372 252.348C396.82 253.798 400.385 254.621 403.911 254.895C418.369 256.031 432.552 247.882 438.39 233.777C472.084 152.713 470.517 77.9971 434.237 38.7779L434.276 38.8172Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M628.842 110.281C615.286 104.365 599.457 100.408 584.177 96.6075C574.931 94.2958 560.316 90.6521 550.208 86.8516C545.546 85.0885 545.075 78.6238 549.464 76.273C549.503 76.273 549.542 76.2338 549.62 76.1946C562.746 69.3381 586.998 70.0826 608.273 84.5792C623.71 95.0794 644.984 92.1409 655.759 76.8999C666.573 61.6197 662.851 40.5017 647.531 29.8055C607.959 2.18359 556.085 -3.18408 518.433 16.4451C490.576 30.9809 474.63 56.6046 474.63 86.7732C474.63 100.917 479.841 127.246 514.633 144.681C530.736 152.713 549.62 157.415 567.839 161.96C574.46 163.605 583.394 165.839 591.112 168.189C596.284 169.757 597.302 176.731 592.718 179.63C592.679 179.63 592.64 179.669 592.601 179.708C577.477 189.151 551.618 191.658 524.428 170.344C509.578 158.747 488.069 161.529 476.745 176.652C465.618 191.462 469.066 212.659 483.759 224.021C511.851 245.727 540.726 253.876 566.624 253.876C590.877 253.876 612.465 246.706 628.333 236.833C659.599 217.321 675.545 184.684 668.963 153.693C664.966 134.73 651.449 120.155 628.882 110.281H628.842Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M888.848 26.0037C883.989 8.05927 865.536 -2.59769 847.552 2.26063C829.607 7.11896 818.95 25.5727 823.809 43.5564C833.29 78.74 849.158 137.588 827.923 169.285C827.923 169.324 827.844 169.403 827.805 169.442C821.575 178.845 801.711 187.23 785.452 183.978C785.373 183.978 785.295 183.978 785.256 183.938C751.365 177.395 747.682 124.385 746.859 70.6298C746.781 64.8311 746.703 59.3851 746.507 54.3309C745.88 35.7203 730.286 21.1846 711.715 21.8115C693.104 22.4384 678.568 38.032 679.195 56.6033C679.352 61.0306 679.43 66.2024 679.509 71.6876C679.94 98.4476 680.488 135.12 690.127 168.07C707.092 225.939 744.195 244.628 772.365 250.074C781.965 251.994 791.877 252.464 801.75 251.681C834.74 249.016 867.064 232.13 883.911 206.702C922.111 149.577 901.268 72.2361 888.808 26.0429L888.848 26.0037Z" fill="white" style="fill:white;fill-opacity:1;"/>
</svg>
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt
index 119c826d8c..9968770ff3 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeDialogs.kt
@@ -40,21 +40,7 @@ internal fun ComingSoonDialog(
Text(text = title, style = EnsuTypography.h3Bold)
},
text = {
- Column(verticalArrangement = Arrangement.spacedBy(EnsuSpacing.md.dp)) {
- Box(
- modifier = Modifier
- .fillMaxWidth()
- .height(140.dp)
- .background(
- EnsuColor.fillFaint(),
- RoundedCornerShape(EnsuCornerRadius.card.dp)
- ),
- contentAlignment = Alignment.Center
- ) {
- Text(text = "Illustration", style = EnsuTypography.small, color = EnsuColor.textMuted())
- }
- Text(text = message, style = EnsuTypography.body, color = EnsuColor.textMuted())
- }
+ Text(text = message, style = EnsuTypography.body, color = EnsuColor.textMuted())
},
confirmButton = {
TextButton(
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeNavigation.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeNavigation.kt
index ef8d299faa..73f24cb99c 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeNavigation.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeNavigation.kt
@@ -35,7 +35,6 @@ import io.ente.ensu.modelsettings.ModelSettingsScreen
import io.ente.ensu.settings.DeveloperSettingsScreen
import io.ente.ensu.settings.LogViewerScreen
import io.ente.ensu.settings.SettingsScreen
-import io.ente.ensu.utils.EnsuFeatureFlags
import kotlinx.coroutines.flow.Flow
@Composable
@@ -69,7 +68,6 @@ internal fun HomeNavigation(
sessionTitle = currentSession?.title,
showBrand = appState.chat.messages.isEmpty(),
isLoggedIn = appState.auth.isLoggedIn,
- signInEnabled = EnsuFeatureFlags.enableSignIn,
attachmentDownloads = appState.chat.attachmentDownloads,
attachmentDownloadProgress = appState.chat.attachmentDownloadProgress,
modelDownloadStatus = appState.chat.downloadStatus,
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeTopBars.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeTopBars.kt
index 352cc6f340..dcb6497aea 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeTopBars.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeTopBars.kt
@@ -36,7 +36,6 @@ internal fun EnsuTopBar(
sessionTitle: String?,
showBrand: Boolean,
isLoggedIn: Boolean,
- signInEnabled: Boolean,
attachmentDownloads: List<AttachmentDownloadItem>,
attachmentDownloadProgress: Int?,
modelDownloadStatus: String?,
@@ -50,7 +49,7 @@ internal fun EnsuTopBar(
CenterAlignedTopAppBar(
title = {
if (showBrand) {
- EnsuLogo(height = 20.dp)
+ EnsuLogo(height = 23.dp)
} else {
Text(
text = titleText,
@@ -72,7 +71,7 @@ internal fun EnsuTopBar(
val isLoading = modelDownloadStatus?.contains("Loading", ignoreCase = true) == true
val showModelProgress = isLoading
- if (!isLoggedIn && signInEnabled) {
+ if (!isLoggedIn) {
if (showModelProgress) {
ModelProgressIndicator(
isLoading = isLoading,
@@ -81,7 +80,7 @@ internal fun EnsuTopBar(
Spacer(modifier = Modifier.width(EnsuSpacing.md.dp))
}
TextButton(onClick = onSignIn) {
- Text(text = "Sign In", style = EnsuTypography.small, color = EnsuColor.accent())
+ Text(text = "Sign In", style = EnsuTypography.small, color = EnsuColor.action())
}
} else {
val hasPending = attachmentDownloads.any {
@@ -142,14 +141,14 @@ private fun ModelProgressIndicator(
CircularProgressIndicator(
progress = { clamped / 100f },
modifier = indicatorModifier,
- color = EnsuColor.accent(),
+ color = EnsuColor.action(),
trackColor = EnsuColor.border(),
strokeWidth = 2.dp
)
} else {
CircularProgressIndicator(
modifier = indicatorModifier,
- color = EnsuColor.accent(),
+ color = EnsuColor.action(),
trackColor = EnsuColor.border(),
strokeWidth = 2.dp
)
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt
index 81882e46a5..29624148c7 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/HomeView.kt
@@ -104,7 +104,10 @@ fun HomeView(
var showDeveloperDialog by remember { mutableStateOf(false) }
val handleSignInRequest: () -> Unit = handle@{
- if (!EnsuFeatureFlags.enableSignIn) return@handle
+ if (!EnsuFeatureFlags.enableSignIn) {
+ showSignInComingSoon = true
+ return@handle
+ }
isShowingAuth = true
}
@@ -329,8 +332,8 @@ fun HomeView(
if (showSignInComingSoon) {
ComingSoonDialog(
- title = "Sign in",
- message = "Coming soon",
+ title = "Coming soon",
+ message = "Sign in and cloud backup will be available in a future update.",
onDismiss = { showSignInComingSoon = false }
)
}
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthComponents.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthComponents.kt
index bf0d2fb415..5bd4402594 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthComponents.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthComponents.kt
@@ -250,7 +250,7 @@ fun TextLink(text: String, onClick: () -> Unit) {
Text(
text = text,
style = EnsuTypography.small,
- color = EnsuColor.accent()
+ color = EnsuColor.action()
)
}
}
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthFlowScreen.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthFlowScreen.kt
index 7412eb230d..e815535411 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthFlowScreen.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/auth/AuthFlowScreen.kt
@@ -75,12 +75,12 @@ fun AuthFlowScreen(
topBar = {
CenterAlignedTopAppBar(
title = {
- EnsuLogo(height = 20.dp)
+ EnsuLogo(height = 23.dp)
},
navigationIcon = {
IconButton(onClick = {
if (canGoBack) {
- backStack.removeLast()
+ backStack.removeAt(backStack.lastIndex)
} else {
onDismiss()
}
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatInputBar.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatInputBar.kt
index bc407d264e..10412474f8 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatInputBar.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatInputBar.kt
@@ -277,7 +277,7 @@ private fun EditBanner(message: ChatMessage, onCancelEdit: () -> Unit) {
Icon(
painter = painterResource(HugeIcons.Edit01Icon),
contentDescription = null,
- tint = EnsuColor.accent(),
+ tint = EnsuColor.action(),
modifier = Modifier.size(14.dp)
)
Spacer(modifier = Modifier.width(EnsuSpacing.sm.dp))
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt
index 213f8ef955..84d582ca63 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt
@@ -329,6 +329,8 @@ private fun DownloadOnboarding(
onDownload: () -> Unit
) {
val haptic = rememberEnsuHaptics()
+ val downloadAccent = EnsuColor.accentDark
+ val downloadButtonTextColor = Color.Black
val sizeText = modelDownloadSizeBytes?.let { "Approx. ${formatBytes(it)}" } ?: "Approx. size varies by model"
Box(
modifier = modifier.fillMaxSize(),
@@ -363,7 +365,7 @@ private fun DownloadOnboarding(
if (clamped != null) {
LinearProgressIndicator(
progress = { clamped / 100f },
- color = EnsuColor.accent(),
+ color = downloadAccent,
trackColor = EnsuColor.border(),
modifier = Modifier
.fillMaxWidth(0.6f)
@@ -371,7 +373,7 @@ private fun DownloadOnboarding(
)
} else {
LinearProgressIndicator(
- color = EnsuColor.accent(),
+ color = downloadAccent,
trackColor = EnsuColor.border(),
modifier = Modifier
.fillMaxWidth(0.6f)
@@ -385,9 +387,9 @@ private fun DownloadOnboarding(
onDownload()
},
shape = RoundedCornerShape(EnsuCornerRadius.button.dp),
- colors = ButtonDefaults.buttonColors(containerColor = EnsuColor.accent())
+ colors = ButtonDefaults.buttonColors(containerColor = downloadAccent)
) {
- Text(text = "Download", style = EnsuTypography.body, color = EnsuColor.backgroundBase())
+ Text(text = "Download", style = EnsuTypography.body, color = downloadButtonTextColor)
}
Spacer(modifier = Modifier.height(EnsuSpacing.sm.dp))
Text(
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt
index 44c0644c25..e98567f8c2 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt
@@ -142,7 +142,7 @@ private fun DrawerHeader(
modifier = Modifier
.clickable(enabled = !isLoggedIn) { onDeveloperTap() }
) {
- EnsuLogo(height = 28.dp)
+ EnsuLogo(height = 27.dp)
}
Spacer(modifier = Modifier.weight(1f))
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/components/EnsuLogo.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/components/EnsuLogo.kt
index 2c3f673283..36a14004c2 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/components/EnsuLogo.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/components/EnsuLogo.kt
@@ -37,7 +37,7 @@ fun EnsuLogo(
contentDescription = "Ensu",
modifier = Modifier
.height(imageHeight)
- .aspectRatio(135f / 40f),
+ .aspectRatio(906f / 255f),
contentScale = ContentScale.Fit,
colorFilter = ColorFilter.tint(tint)
)
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt
index 72b9f0e706..021be7f2f0 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/designsystem/EnsuTheme.kt
@@ -31,8 +31,11 @@ object EnsuColor {
val fillFaintLight = Color(0xFFF0EBE4)
val fillFaintDark = Color(0xFF1E1E1E)
- val accentLight = Color(0xFF9A7E0A)
- val accentDark = Color(0xFFFFD700)
+ val accentLight = Color(0xFFF4D93B)
+ val accentDark = Color(0xFFF4D93B)
+
+ val actionLight = textPrimaryLight
+ val actionDark = accentDark
val userMessageTextLight = Color(0xFF555555)
val userMessageTextDark = Color(0xFF999999)
@@ -65,6 +68,9 @@ object EnsuColor {
@Composable
fun accent(): Color = if (isSystemInDarkTheme()) accentDark else accentLight
+ @Composable
+ fun action(): Color = if (isSystemInDarkTheme()) actionDark else actionLight
+
@Composable
fun userMessageText(): Color = if (isSystemInDarkTheme()) userMessageTextDark else userMessageTextLight
@@ -162,7 +168,7 @@ fun EnsuTheme(content: @Composable () -> Unit) {
private fun lightEnsuColorScheme(): ColorScheme = lightColorScheme(
primary = EnsuColor.accentLight,
- onPrimary = EnsuColor.backgroundBaseLight,
+ onPrimary = Color.Black,
secondary = EnsuColor.fillFaintLight,
onSecondary = EnsuColor.textPrimaryLight,
@@ -186,7 +192,7 @@ private fun lightEnsuColorScheme(): ColorScheme = lightColorScheme(
private fun darkEnsuColorScheme(): ColorScheme = darkColorScheme(
primary = EnsuColor.accentDark,
- onPrimary = EnsuColor.backgroundBaseDark,
+ onPrimary = Color.Black,
secondary = EnsuColor.fillFaintDark,
onSecondary = EnsuColor.textPrimaryDark,
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/modelsettings/ModelSettingsScreen.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/modelsettings/ModelSettingsScreen.kt
index 31668a8e28..c6196f8701 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/modelsettings/ModelSettingsScreen.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/modelsettings/ModelSettingsScreen.kt
@@ -203,7 +203,7 @@ fun ModelSettingsScreen(
maxTokens = ""
temperature = ""
}) {
- Text(text = "Use Default Model", style = EnsuTypography.body, color = EnsuColor.accent())
+ Text(text = "Use Default Model", style = EnsuTypography.body, color = EnsuColor.action())
}
Spacer(modifier = Modifier.height(EnsuSpacing.md.dp))
@@ -230,7 +230,7 @@ private fun SuggestedModelCard(title: String, subtitle: String, onFill: () -> Un
Text(text = title, style = EnsuTypography.body)
Text(text = subtitle, style = EnsuTypography.small, color = EnsuColor.textMuted())
TextButton(onClick = onFill) {
- Text(text = "Fill", style = EnsuTypography.small, color = EnsuColor.accent())
+ Text(text = "Fill", style = EnsuTypography.small, color = EnsuColor.action())
}
}
}
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/settings/SettingsScreen.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/settings/SettingsScreen.kt
index 435d1389af..eca4721e1c 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/settings/SettingsScreen.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/settings/SettingsScreen.kt
@@ -33,7 +33,6 @@ import io.ente.ensu.designsystem.EnsuCornerRadius
import io.ente.ensu.designsystem.EnsuSpacing
import io.ente.ensu.designsystem.EnsuTypography
import io.ente.ensu.designsystem.HugeIcons
-import io.ente.ensu.utils.EnsuFeatureFlags
@Composable
fun SettingsScreen(
@@ -71,7 +70,7 @@ fun SettingsScreen(
onClick = onSignOut
)
)
- } else if (EnsuFeatureFlags.enableSignIn) {
+ } else {
add(
SettingsItem(
title = "Sign In to Backup",
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_logo.xml b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_logo.xml
index 53531d0339..fa912ccfae 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_logo.xml
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ensu_logo.xml
@@ -1,22 +1,22 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="135dp"
- android:height="40dp"
- android:viewportWidth="135"
- android:viewportHeight="40">
+ android:width="906dp"
+ android:height="255dp"
+ android:viewportWidth="906"
+ android:viewportHeight="255">
<path
android:fillColor="#FFFFFF"
- android:fillType="evenOdd"
- android:pathData="M58.1279 0.714844C59.5808 0.71489 60.8058 1.23858 61.623 2.37598C62.3964 3.45228 62.705 4.94425 62.7051 6.69336L62.6982 7.12109C62.6672 8.1704 62.5277 9.59137 62.29 11.3633L62.2891 11.373L60.2979 25.1289C59.9072 27.8639 59.7178 29.9853 59.7178 31.5137C59.7178 32.0145 59.7818 32.2914 59.834 32.4238C60.2542 32.3861 60.9226 32.0663 61.8555 31.0566C62.8205 30.0121 63.9186 28.3957 65.1436 26.1641L65.6523 25.2363L66.5498 25.7979C67.1673 26.1838 67.8184 26.7714 67.8975 27.6162L67.9053 27.7891L67.8994 27.9912C67.8465 29.0046 67.4017 30.0546 66.709 31.1123C66.0556 32.1098 65.137 33.1812 63.9746 34.3262L63.4619 34.8213C62.0644 36.1433 60.763 37.1667 59.5605 37.8643C58.3656 38.5575 57.2026 38.9677 56.0996 38.9678C54.8677 38.9678 53.8164 38.5052 53.1211 37.5068C52.4715 36.5741 52.2227 35.299 52.2227 33.8369C52.2227 31.7496 52.4891 28.9039 53.0078 25.3223L54.2979 16.3975C54.7131 13.5153 54.915 11.271 54.915 9.64453C54.915 8.75862 54.7549 8.27161 54.5869 8.03027C54.4647 7.85485 54.2894 7.7305 53.8867 7.73047C51.219 7.73047 48.2817 9.55102 45.0947 13.752L45.0938 13.751C41.9726 17.8729 40.1689 22.2784 39.6494 26.9766V26.9785L38.5869 36.4189L30.9912 39.5283L31.5762 34.0986V34.0928L31.8711 31.5127L33.7891 14.4004L34.0098 12.4551C34.1554 10.9485 34.2256 9.75725 34.2256 8.87012C34.2256 8.13471 34.1283 7.73139 34.0361 7.54688C34.0288 7.5322 34.0203 7.52118 34.0146 7.51172C33.4918 7.52323 32.7914 7.82795 31.9043 8.76465C31.0097 9.70928 30.0372 11.1801 29 13.2305L28.4355 14.3467L27.4707 13.5498C27.1484 13.2836 26.863 12.9999 26.6514 12.6963C26.442 12.3959 26.2598 12.0096 26.2598 11.5615C26.2599 10.5368 26.7169 9.46822 27.4336 8.39648C28.1609 7.30894 29.224 6.1167 30.5928 4.82324C31.974 3.51743 33.2402 2.5062 34.3877 1.81641C35.5217 1.13475 36.625 0.714948 37.6592 0.714844C38.9452 0.714844 40.0642 1.1387 40.8262 2.11328C41.5514 3.04098 41.831 4.31647 41.8311 5.77148C41.8311 6.51086 41.7651 7.47261 41.6406 8.64258L41.3467 11.623L41.3457 11.6328L41.3447 11.6416L41.1914 12.9443C43.5116 9.92831 45.9957 7.33834 48.6455 5.18066C52.1588 2.31539 55.3376 0.714844 58.1279 0.714844ZM63.6572 33.2275C63.6763 33.2087 63.6953 33.19 63.7139 33.1709L63.7422 33.1416C63.7142 33.1704 63.6855 33.1986 63.6572 33.2275ZM59.0498 26.9424C59.0333 27.0805 59.0192 27.2171 59.0039 27.3516C59.0235 27.1798 59.0429 27.0049 59.0645 26.8271L59.0498 26.9424ZM32.0732 7.26758C32.1539 7.20702 32.2352 7.14997 32.3154 7.09668C32.3205 7.09333 32.325 7.08926 32.3301 7.08594C32.2447 7.14227 32.1592 7.20299 32.0732 7.26758ZM32.457 7.00488C32.4358 7.01787 32.4148 7.03142 32.3936 7.04492C32.4748 6.99326 32.5559 6.94553 32.6367 6.90137L32.457 7.00488Z" />
+ android:fillType="nonZero"
+ android:pathData="M82.9898 168.936C90.6299 163.412 102.031 165.096 111.043 164.039C130.28 162.941 149.87 161.649 168.716 160.708C180.822 160.003 193.242 159.494 204.683 155.066C238.104 142.49 238.652 104.25 225.488 74.7864C191.401 -6.94309 85.8108 -17.9918 29.5874 45.0488C-5.2828 83.9546 -9.00491 148.562 16.6972 193.737C31.7423 220.34 56.5041 239.969 85.0272 248.667C122.444 259.52 166.443 254.662 198.571 231.428C216.75 219.087 229.837 198.909 215.967 178.183C209.502 168.505 197.278 165.449 186.778 168.975C178.942 171.287 171.654 175.988 164.367 179.789C156.256 184.099 147.676 187.429 138.665 189.114C122.718 191.974 104.735 191.739 90.434 184.138C85.4189 181.709 77.6221 174.186 82.8722 169.054L82.9898 168.936ZM74.9187 103.897L74.762 103.78C68.8458 99.4307 73.0381 89.6357 77.3479 84.8949C93.5292 65.8534 124.168 62.3272 146.226 72.9058C154.219 76.7455 170.4 89.2439 162.564 99.1564C159.587 102.291 153.435 103.231 147.206 103.584C141.838 103.897 136.157 104.171 130.241 104.485C120.172 104.994 109.828 105.543 99.798 106.052C92.1579 106.248 80.4039 108.05 74.9187 103.976V103.897Z" />
<path
android:fillColor="#FFFFFF"
- android:fillType="evenOdd"
- android:pathData="M19.9561 0.714844C21.6289 0.714875 23.0624 1.16738 24.0625 2.24121C25.0499 3.30159 25.455 4.79855 25.4551 6.5459C25.4551 10.5148 23.5174 14.2854 19.8809 17.8457C16.4514 21.226 12.3048 23.6248 7.46387 25.0537C7.75489 27.4922 8.39211 29.2302 9.29004 30.3691C10.2461 31.5818 11.5703 32.21 13.3916 32.21C16.9868 32.2098 20.0934 29.9482 22.6377 24.8359L23.1484 23.8096L24.0957 24.4541C24.8884 24.9932 25.4549 25.7586 25.4551 26.7559C25.4551 27.4256 25.1313 28.1422 24.7207 28.8223C24.2877 29.5393 23.6593 30.3724 22.8555 31.3145L22.8516 31.3193C18.5644 36.2833 14.1574 38.9677 9.62988 38.9678C6.98921 38.9678 4.76115 37.968 3.00391 36.0156L2.6582 35.6123C0.861924 33.4077 6.04278e-05 30.6254 0 27.3467C0 21.4755 2.21782 15.6038 6.53906 9.75C10.8478 3.92212 15.312 0.714844 19.9561 0.714844ZM7.05469 19.9844C7.08204 19.9918 7.10957 19.9979 7.13672 20.0049C7.02486 19.9761 6.91111 19.9447 6.7959 19.9092L7.05469 19.9844ZM15.5303 7.50977C13.8793 7.50979 12.2286 8.48039 10.6045 10.8701C9.14101 13.0342 8.14218 15.7641 7.64062 19.0957C7.95096 19.1606 8.23212 19.1914 8.48633 19.1914C11.3125 19.1914 13.7547 18.3318 15.8564 16.6143C17.9564 14.8981 18.9189 12.9772 18.9189 10.8242C18.9189 9.54443 18.5952 8.7669 18.1211 8.30078C17.6439 7.83159 16.8432 7.50977 15.5303 7.50977ZM15.4424 18.1572C15.4992 18.1196 15.5579 18.0846 15.6143 18.0459L15.6416 18.0264C15.5761 18.0716 15.5085 18.1134 15.4424 18.1572ZM19.9189 10.8242L19.915 10.5586C19.9143 10.5363 19.912 10.5142 19.9111 10.4922C19.9156 10.6007 19.9189 10.7113 19.9189 10.8242ZM12.1484 7.71094C11.9119 7.88895 11.6787 8.08713 11.4482 8.30469L11.7969 7.99316C11.9135 7.89441 12.0303 7.79983 12.1484 7.71094Z" />
+ android:fillType="nonZero"
+ android:pathData="M434.276 38.8172C405.674 7.86494 357.444 -2.8312 314.267 12.1356C313.954 12.2531 313.68 12.3706 313.366 12.4882C307.646 5.55331 299.222 0.890877 289.545 0.107277C270.582 -1.38156 254.008 12.8016 252.52 31.7647L238.767 207.409C237.279 226.372 251.462 242.945 270.425 244.434C289.388 245.923 305.961 231.74 307.45 212.776L316.226 100.604C317.323 86.8126 328.02 80.2696 336.835 77.2136C353.722 71.3366 373.86 74.9411 383.694 85.5589C390.198 92.5721 393.92 107.813 393.646 126.345C393.333 150.128 386.633 178.886 374.8 207.33C367.513 224.883 375.819 245.061 393.372 252.348C396.82 253.798 400.385 254.621 403.911 254.895C418.369 256.031 432.552 247.882 438.39 233.777C472.084 152.713 470.517 77.9971 434.237 38.7779L434.276 38.8172Z" />
<path
android:fillColor="#FFFFFF"
- android:fillType="evenOdd"
- android:pathData="M85.3828 0.714844C87.2121 0.714844 89.1673 1.01467 91.2422 1.59961L92.1387 1.86816L93.7803 2.38672L87.4785 8.21484L86.8115 7.71484C85.1121 6.44031 83.2439 5.8125 81.1787 5.8125C79.9535 5.81254 79.2205 6.07279 78.8047 6.41992C78.4236 6.73824 78.1592 7.25686 78.1592 8.16895L78.1709 8.375C78.2288 8.88722 78.4994 9.61542 79.1191 10.5938C79.7265 11.5525 80.6188 12.673 81.8125 13.959L82.3428 14.5205L82.3506 14.5283L84.6299 16.9551C86.3564 18.7567 87.6843 20.4155 88.585 21.9297C89.48 23.4344 89.9971 24.8698 89.9971 26.2031L89.9922 26.5273C89.8903 29.8616 88.2131 32.7596 85.1602 35.207L85.1562 35.2109C82.0002 37.7148 78.3497 38.9678 74.2451 38.9678C71.5057 38.9677 68.9196 38.347 66.5 37.1084L66.0186 36.8516L64.7236 36.1387L71.6797 30.4434L72.3193 31.124C74.0404 32.9553 76.1822 33.87 78.8184 33.8701C80.443 33.8701 81.477 33.4776 82.1074 32.8691C82.7313 32.267 83.1289 31.2886 83.1289 29.7432C83.1288 29.0644 82.8305 28.1184 82.0605 26.8643C81.3001 25.6256 80.1348 24.1742 78.5391 22.5059L76.4395 20.333L76.4355 20.3291C74.8684 18.6867 73.6606 17.1683 72.8398 15.7764C72.0243 14.3932 71.5489 13.0642 71.5488 11.8203C71.5488 8.62943 72.9456 5.95433 75.6172 3.84375L75.6211 3.84082C78.3053 1.7413 81.5798 0.71492 85.3828 0.714844ZM73.7314 37.96L74.2451 37.9678C73.9059 37.9678 73.5693 37.9567 73.2354 37.9365C73.4001 37.9465 73.5654 37.9549 73.7314 37.96ZM72.6387 10.5166C72.6302 10.5765 72.6235 10.6369 72.6162 10.6973C72.6338 10.5515 72.6541 10.4069 72.6787 10.2637L72.6387 10.5166ZM73.1572 8.56934C73.1459 8.59744 73.136 8.62608 73.125 8.6543L73.208 8.4502L73.1572 8.56934Z" />
+ android:fillType="nonZero"
+ android:pathData="M628.842 110.281C615.286 104.365 599.457 100.408 584.177 96.6075C574.931 94.2958 560.316 90.6521 550.208 86.8516C545.546 85.0885 545.075 78.6238 549.464 76.273C549.503 76.273 549.542 76.2338 549.62 76.1946C562.746 69.3381 586.998 70.0826 608.273 84.5792C623.71 95.0794 644.984 92.1409 655.759 76.8999C666.573 61.6197 662.851 40.5017 647.531 29.8055C607.959 2.18359 556.085 -3.18408 518.433 16.4451C490.576 30.9809 474.63 56.6046 474.63 86.7732C474.63 100.917 479.841 127.246 514.633 144.681C530.736 152.713 549.62 157.415 567.839 161.96C574.46 163.605 583.394 165.839 591.112 168.189C596.284 169.757 597.302 176.731 592.718 179.63C592.679 179.63 592.64 179.669 592.601 179.708C577.477 189.151 551.618 191.658 524.428 170.344C509.578 158.747 488.069 161.529 476.745 176.652C465.618 191.462 469.066 212.659 483.759 224.021C511.851 245.727 540.726 253.876 566.624 253.876C590.877 253.876 612.465 246.706 628.333 236.833C659.599 217.321 675.545 184.684 668.963 153.693C664.966 134.73 651.449 120.155 628.882 110.281H628.842Z" />
<path
android:fillColor="#FFFFFF"
- android:fillType="evenOdd"
- android:pathData="M130.538 1.76562C129.856 4.59298 129.346 7.10548 129.007 9.30566L129.008 9.30664L126.794 24.7217C126.672 25.648 126.576 26.426 126.503 27.0557L126.502 27.0674L126.244 29.085C126.097 30.3392 126.03 31.1726 126.03 31.624C126.03 31.8447 126.046 32.0131 126.068 32.1357C126.073 32.1603 126.079 32.1818 126.084 32.2012C126.703 32.1435 127.455 31.7637 128.342 30.7998C129.306 29.7516 130.328 28.1213 131.39 25.8525L131.857 24.8545L132.806 25.417C133.451 25.7998 134.192 26.3961 134.282 27.2773L134.291 27.457L134.286 27.6084C134.261 27.9616 134.152 28.3164 134.016 28.6475C133.854 29.0383 133.624 29.4671 133.34 29.9277C132.772 30.848 131.939 31.9698 130.858 33.2861L130.859 33.2871C127.944 36.8753 125.017 38.9677 122.08 38.9678C120.936 38.9678 119.934 38.5677 119.259 37.6611C118.625 36.8098 118.388 35.6532 118.388 34.3535C118.388 33.5267 118.481 32.4561 118.655 31.1592V31.1562L119.061 28.2061C119.153 27.5406 119.229 26.9638 119.296 26.4785C117.073 29.4082 114.654 31.9942 112.034 34.2295C108.501 37.2437 105.394 38.9677 102.792 38.9678C101.331 38.9678 100.09 38.4653 99.2539 37.3506C98.4584 36.2899 98.1406 34.8184 98.1406 33.0996C98.1406 31.8319 98.3071 29.8025 98.627 27.0469L99.9541 14.9561L99.9561 14.9404L99.958 14.9238C99.9768 14.7921 100.036 14.1247 100.136 12.8486L100.137 12.835L100.357 10.4375L100.358 10.4268C100.43 9.73938 100.464 9.1348 100.464 8.61133C100.464 7.96088 100.366 7.63408 100.291 7.50195C100.284 7.48925 100.277 7.48012 100.272 7.47363C100.266 7.47309 100.258 7.47266 100.247 7.47266C99.7051 7.4727 98.9782 7.77938 98.0557 8.74121C97.1429 9.69293 96.1493 11.1737 95.0879 13.2363L94.5322 14.3164L93.5791 13.5635C92.9787 13.0894 92.498 12.4367 92.498 11.5986C92.4981 10.5533 92.9551 9.46825 93.6807 8.37988C94.4153 7.27788 95.4885 6.07778 96.8711 4.7832L96.875 4.78027C98.2698 3.48604 99.5527 2.48474 100.72 1.80176C101.875 1.12547 102.996 0.714844 104.046 0.714844C105.322 0.714871 106.417 1.17054 107.15 2.17773C107.841 3.12585 108.106 4.42622 108.106 5.91895C108.106 6.62967 108.054 7.44324 107.953 8.35352L107.952 8.3584L107.621 11.1885L107.29 14.2871L107.289 14.292L106.109 24.8389C105.917 26.5961 105.82 28.3789 105.82 30.1865L105.827 30.4521C105.857 31.0331 105.981 31.3463 106.095 31.5C106.183 31.6191 106.324 31.7305 106.701 31.7305C107.809 31.7305 109.085 31.2746 110.547 30.208C112.009 29.1418 113.598 27.5076 115.311 25.2646L115.312 25.2617C118.752 20.7882 120.74 16.4207 121.349 12.1572L122.689 2.80957L130.965 0L130.538 1.76562ZM129.56 33.2822C129.532 33.3146 129.504 33.3469 129.477 33.3789C129.499 33.3526 129.523 33.3273 129.546 33.3008C129.562 33.2818 129.577 33.2615 129.593 33.2422C129.581 33.2554 129.571 33.2691 129.56 33.2822ZM126.111 33.2031L126.308 33.1836C126.32 33.1819 126.332 33.1784 126.344 33.1758C126.266 33.1875 126.189 33.1978 126.111 33.2031ZM125.311 32.9072C125.318 32.9173 125.326 32.926 125.334 32.9355C125.305 32.8984 125.277 32.8582 125.252 32.8135L125.311 32.9072ZM129.078 31.4766L129.277 31.2539C129.286 31.2445 129.293 31.2345 129.301 31.2246C129.226 31.3112 129.153 31.3957 129.078 31.4766ZM132.583 26.4639C132.565 26.4507 132.548 26.4365 132.529 26.4238C132.518 26.4163 132.506 26.4098 132.495 26.4023C132.526 26.4225 132.554 26.4437 132.583 26.4639Z" />
+ android:fillType="nonZero"
+ android:pathData="M888.848 26.0037C883.989 8.05927 865.536 -2.59769 847.552 2.26063C829.607 7.11896 818.95 25.5727 823.809 43.5564C833.29 78.74 849.158 137.588 827.923 169.285C827.923 169.324 827.844 169.403 827.805 169.442C821.575 178.845 801.711 187.23 785.452 183.978C785.373 183.978 785.295 183.978 785.256 183.938C751.365 177.395 747.682 124.385 746.859 70.6298C746.781 64.8311 746.703 59.3851 746.507 54.3309C745.88 35.7203 730.286 21.1846 711.715 21.8115C693.104 22.4384 678.568 38.032 679.195 56.6033C679.352 61.0306 679.43 66.2024 679.509 71.6876C679.94 98.4476 680.488 135.12 690.127 168.07C707.092 225.939 744.195 244.628 772.365 250.074C781.965 251.994 791.877 252.464 801.75 251.681C834.74 249.016 867.064 232.13 883.911 206.702C922.111 149.577 901.268 72.2361 888.808 26.0429L888.848 26.0037Z" />
</vector>
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_background.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_background.png
new file mode 100644
index 0000000000..c398670058
Binary files /dev/null and b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_background.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_foreground.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_foreground.png
index 90b6f72908..6a2f17caea 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_foreground.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/drawable/ic_launcher_foreground.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
index a8a8fa5518..6b78462d61 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:drawable="@color/ic_launcher_background" />
+ <background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
index a8a8fa5518..6b78462d61 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <background android:drawable="@color/ic_launcher_background" />
+ <background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher.png
index 9f9d82eff7..0aacd7e2f2 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher_round.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher_round.png
index 9f9d82eff7..0aacd7e2f2 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher.png
index 70a0e30513..3bb66add00 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher_round.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher_round.png
index 70a0e30513..3bb66add00 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher.png
index fc1e5e0797..72137331e8 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher_round.png
index fc1e5e0797..72137331e8 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 6783d79022..901b1cdb96 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
index 6783d79022..901b1cdb96 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 96a81a1542..fce41fb0a8 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
index 96a81a1542..fce41fb0a8 100644
Binary files a/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/mobile/native/android/apps/ensu/app-ui/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj b/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj
index 9912bb2066..b1fcd1cd7f 100644
--- a/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj
+++ b/mobile/native/darwin/Apps/ensu/ensu.xcodeproj/project.pbxproj
@@ -509,7 +509,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 17;
+ CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 6Z68YJY9Q2;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -570,7 +570,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 17;
+ CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_TEAM = 6Z68YJY9Q2;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGAny.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGAny.png
index f3088a6efe..989846b272 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGAny.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGAny.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGDark.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGDark.png
index 0d25323b56..989846b272 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGDark.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGDark.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGTinted.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGTinted.png
index 9291055d93..989846b272 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGTinted.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIcon.appiconset/IconOGTinted.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_128x128.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_128x128.png
index 55ae1aac30..3bed0d36e8 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_128x128.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_128x128.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected]
index f782d9065b..c8016cf7a4 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_16x16.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_16x16.png
index 170f89b4e6..a6e2df6d49 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_16x16.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_16x16.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected]
index 2229413530..fe9336b0ef 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_256x256.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_256x256.png
index f782d9065b..c8016cf7a4 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_256x256.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_256x256.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected]
index 2fd6545b39..7377ed851e 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_32x32.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_32x32.png
index 2229413530..fe9336b0ef 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_32x32.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_32x32.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected]
index 0104eeef52..fa92f34083 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_512x512.png b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_512x512.png
index 2fd6545b39..7377ed851e 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_512x512.png and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/icon_512x512.png differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected]
index f2a5d81f89..70820a4f10 100644
Binary files a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] and b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/AppIconMac.appiconset/[email protected] differ
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuLogo.imageset/ensu-logo.svg b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuLogo.imageset/ensu-logo.svg
index f6d5e5709b..0666b6d2cc 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuLogo.imageset/ensu-logo.svg
+++ b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/EnsuLogo.imageset/ensu-logo.svg
@@ -1,6 +1,6 @@
-<svg width="135" height="40" viewBox="0 0 135 40" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M58.1279 0.714844C59.5808 0.71489 60.8058 1.23858 61.623 2.37598C62.3964 3.45228 62.705 4.94425 62.7051 6.69336L62.6982 7.12109C62.6672 8.1704 62.5277 9.59137 62.29 11.3633L62.2891 11.373L60.2979 25.1289C59.9072 27.8639 59.7178 29.9853 59.7178 31.5137C59.7178 32.0145 59.7818 32.2914 59.834 32.4238C60.2542 32.3861 60.9226 32.0663 61.8555 31.0566C62.8205 30.0121 63.9186 28.3957 65.1436 26.1641L65.6523 25.2363L66.5498 25.7979C67.1673 26.1838 67.8184 26.7714 67.8975 27.6162L67.9053 27.7891L67.8994 27.9912C67.8465 29.0046 67.4017 30.0546 66.709 31.1123C66.0556 32.1098 65.137 33.1812 63.9746 34.3262L63.4619 34.8213C62.0644 36.1433 60.763 37.1667 59.5605 37.8643C58.3656 38.5575 57.2026 38.9677 56.0996 38.9678C54.8677 38.9678 53.8164 38.5052 53.1211 37.5068C52.4715 36.5741 52.2227 35.299 52.2227 33.8369C52.2227 31.7496 52.4891 28.9039 53.0078 25.3223L54.2979 16.3975C54.7131 13.5153 54.915 11.271 54.915 9.64453C54.915 8.75862 54.7549 8.27161 54.5869 8.03027C54.4647 7.85485 54.2894 7.7305 53.8867 7.73047C51.219 7.73047 48.2817 9.55102 45.0947 13.752L45.0938 13.751C41.9726 17.8729 40.1689 22.2784 39.6494 26.9766V26.9785L38.5869 36.4189L30.9912 39.5283L31.5762 34.0986V34.0928L31.8711 31.5127L33.7891 14.4004L34.0098 12.4551C34.1554 10.9485 34.2256 9.75725 34.2256 8.87012C34.2256 8.13471 34.1283 7.73139 34.0361 7.54688C34.0288 7.5322 34.0203 7.52118 34.0146 7.51172C33.4918 7.52323 32.7914 7.82795 31.9043 8.76465C31.0097 9.70928 30.0372 11.1801 29 13.2305L28.4355 14.3467L27.4707 13.5498C27.1484 13.2836 26.863 12.9999 26.6514 12.6963C26.442 12.3959 26.2598 12.0096 26.2598 11.5615C26.2599 10.5368 26.7169 9.46822 27.4336 8.39648C28.1609 7.30894 29.224 6.1167 30.5928 4.82324C31.974 3.51743 33.2402 2.5062 34.3877 1.81641C35.5217 1.13475 36.625 0.714948 37.6592 0.714844C38.9452 0.714844 40.0642 1.1387 40.8262 2.11328C41.5514 3.04098 41.831 4.31647 41.8311 5.77148C41.8311 6.51086 41.7651 7.47261 41.6406 8.64258L41.3467 11.623L41.3457 11.6328L41.3447 11.6416L41.1914 12.9443C43.5116 9.92831 45.9957 7.33834 48.6455 5.18066C52.1588 2.31539 55.3376 0.714844 58.1279 0.714844ZM63.6572 33.2275C63.6763 33.2087 63.6953 33.19 63.7139 33.1709L63.7422 33.1416C63.7142 33.1704 63.6855 33.1986 63.6572 33.2275ZM59.0498 26.9424C59.0333 27.0805 59.0192 27.2171 59.0039 27.3516C59.0235 27.1798 59.0429 27.0049 59.0645 26.8271L59.0498 26.9424ZM32.0732 7.26758C32.1539 7.20702 32.2352 7.14997 32.3154 7.09668C32.3205 7.09333 32.325 7.08926 32.3301 7.08594C32.2447 7.14227 32.1592 7.20299 32.0732 7.26758ZM32.457 7.00488C32.4358 7.01787 32.4148 7.03142 32.3936 7.04492C32.4748 6.99326 32.5559 6.94553 32.6367 6.90137L32.457 7.00488Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M19.9561 0.714844C21.6289 0.714875 23.0624 1.16738 24.0625 2.24121C25.0499 3.30159 25.455 4.79855 25.4551 6.5459C25.4551 10.5148 23.5174 14.2854 19.8809 17.8457C16.4514 21.226 12.3048 23.6248 7.46387 25.0537C7.75489 27.4922 8.39211 29.2302 9.29004 30.3691C10.2461 31.5818 11.5703 32.21 13.3916 32.21C16.9868 32.2098 20.0934 29.9482 22.6377 24.8359L23.1484 23.8096L24.0957 24.4541C24.8884 24.9932 25.4549 25.7586 25.4551 26.7559C25.4551 27.4256 25.1313 28.1422 24.7207 28.8223C24.2877 29.5393 23.6593 30.3724 22.8555 31.3145L22.8516 31.3193C18.5644 36.2833 14.1574 38.9677 9.62988 38.9678C6.98921 38.9678 4.76115 37.968 3.00391 36.0156L2.6582 35.6123C0.861924 33.4077 6.04278e-05 30.6254 0 27.3467C0 21.4755 2.21782 15.6038 6.53906 9.75C10.8478 3.92212 15.312 0.714844 19.9561 0.714844ZM7.05469 19.9844C7.08204 19.9918 7.10957 19.9979 7.13672 20.0049C7.02486 19.9761 6.91111 19.9447 6.7959 19.9092L7.05469 19.9844ZM15.5303 7.50977C13.8793 7.50979 12.2286 8.48039 10.6045 10.8701C9.14101 13.0342 8.14218 15.7641 7.64062 19.0957C7.95096 19.1606 8.23212 19.1914 8.48633 19.1914C11.3125 19.1914 13.7547 18.3318 15.8564 16.6143C17.9564 14.8981 18.9189 12.9772 18.9189 10.8242C18.9189 9.54443 18.5952 8.7669 18.1211 8.30078C17.6439 7.83159 16.8432 7.50977 15.5303 7.50977ZM15.4424 18.1572C15.4992 18.1196 15.5579 18.0846 15.6143 18.0459L15.6416 18.0264C15.5761 18.0716 15.5085 18.1134 15.4424 18.1572ZM19.9189 10.8242L19.915 10.5586C19.9143 10.5363 19.912 10.5142 19.9111 10.4922C19.9156 10.6007 19.9189 10.7113 19.9189 10.8242ZM12.1484 7.71094C11.9119 7.88895 11.6787 8.08713 11.4482 8.30469L11.7969 7.99316C11.9135 7.89441 12.0303 7.79983 12.1484 7.71094Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M85.3828 0.714844C87.2121 0.714844 89.1673 1.01467 91.2422 1.59961L92.1387 1.86816L93.7803 2.38672L87.4785 8.21484L86.8115 7.71484C85.1121 6.44031 83.2439 5.8125 81.1787 5.8125C79.9535 5.81254 79.2205 6.07279 78.8047 6.41992C78.4236 6.73824 78.1592 7.25686 78.1592 8.16895L78.1709 8.375C78.2288 8.88722 78.4994 9.61542 79.1191 10.5938C79.7265 11.5525 80.6188 12.673 81.8125 13.959L82.3428 14.5205L82.3506 14.5283L84.6299 16.9551C86.3564 18.7567 87.6843 20.4155 88.585 21.9297C89.48 23.4344 89.9971 24.8698 89.9971 26.2031L89.9922 26.5273C89.8903 29.8616 88.2131 32.7596 85.1602 35.207L85.1562 35.2109C82.0002 37.7148 78.3497 38.9678 74.2451 38.9678C71.5057 38.9677 68.9196 38.347 66.5 37.1084L66.0186 36.8516L64.7236 36.1387L71.6797 30.4434L72.3193 31.124C74.0404 32.9553 76.1822 33.87 78.8184 33.8701C80.443 33.8701 81.477 33.4776 82.1074 32.8691C82.7313 32.267 83.1289 31.2886 83.1289 29.7432C83.1288 29.0644 82.8305 28.1184 82.0605 26.8643C81.3001 25.6256 80.1348 24.1742 78.5391 22.5059L76.4395 20.333L76.4355 20.3291C74.8684 18.6867 73.6606 17.1683 72.8398 15.7764C72.0243 14.3932 71.5489 13.0642 71.5488 11.8203C71.5488 8.62943 72.9456 5.95433 75.6172 3.84375L75.6211 3.84082C78.3053 1.7413 81.5798 0.71492 85.3828 0.714844ZM73.7314 37.96L74.2451 37.9678C73.9059 37.9678 73.5693 37.9567 73.2354 37.9365C73.4001 37.9465 73.5654 37.9549 73.7314 37.96ZM72.6387 10.5166C72.6302 10.5765 72.6235 10.6369 72.6162 10.6973C72.6338 10.5515 72.6541 10.4069 72.6787 10.2637L72.6387 10.5166ZM73.1572 8.56934C73.1459 8.59744 73.136 8.62608 73.125 8.6543L73.208 8.4502L73.1572 8.56934Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M130.538 1.76562C129.856 4.59298 129.346 7.10548 129.007 9.30566L129.008 9.30664L126.794 24.7217C126.672 25.648 126.576 26.426 126.503 27.0557L126.502 27.0674L126.244 29.085C126.097 30.3392 126.03 31.1726 126.03 31.624C126.03 31.8447 126.046 32.0131 126.068 32.1357C126.073 32.1603 126.079 32.1818 126.084 32.2012C126.703 32.1435 127.455 31.7637 128.342 30.7998C129.306 29.7516 130.328 28.1213 131.39 25.8525L131.857 24.8545L132.806 25.417C133.451 25.7998 134.192 26.3961 134.282 27.2773L134.291 27.457L134.286 27.6084C134.261 27.9616 134.152 28.3164 134.016 28.6475C133.854 29.0383 133.624 29.4671 133.34 29.9277C132.772 30.848 131.939 31.9698 130.858 33.2861L130.859 33.2871C127.944 36.8753 125.017 38.9677 122.08 38.9678C120.936 38.9678 119.934 38.5677 119.259 37.6611C118.625 36.8098 118.388 35.6532 118.388 34.3535C118.388 33.5267 118.481 32.4561 118.655 31.1592V31.1562L119.061 28.2061C119.153 27.5406 119.229 26.9638 119.296 26.4785C117.073 29.4082 114.654 31.9942 112.034 34.2295C108.501 37.2437 105.394 38.9677 102.792 38.9678C101.331 38.9678 100.09 38.4653 99.2539 37.3506C98.4584 36.2899 98.1406 34.8184 98.1406 33.0996C98.1406 31.8319 98.3071 29.8025 98.627 27.0469L99.9541 14.9561L99.9561 14.9404L99.958 14.9238C99.9768 14.7921 100.036 14.1247 100.136 12.8486L100.137 12.835L100.357 10.4375L100.358 10.4268C100.43 9.73938 100.464 9.1348 100.464 8.61133C100.464 7.96088 100.366 7.63408 100.291 7.50195C100.284 7.48925 100.277 7.48012 100.272 7.47363C100.266 7.47309 100.258 7.47266 100.247 7.47266C99.7051 7.4727 98.9782 7.77938 98.0557 8.74121C97.1429 9.69293 96.1493 11.1737 95.0879 13.2363L94.5322 14.3164L93.5791 13.5635C92.9787 13.0894 92.498 12.4367 92.498 11.5986C92.4981 10.5533 92.9551 9.46825 93.6807 8.37988C94.4153 7.27788 95.4885 6.07778 96.8711 4.7832L96.875 4.78027C98.2698 3.48604 99.5527 2.48474 100.72 1.80176C101.875 1.12547 102.996 0.714844 104.046 0.714844C105.322 0.714871 106.417 1.17054 107.15 2.17773C107.841 3.12585 108.106 4.42622 108.106 5.91895C108.106 6.62967 108.054 7.44324 107.953 8.35352L107.952 8.3584L107.621 11.1885L107.29 14.2871L107.289 14.292L106.109 24.8389C105.917 26.5961 105.82 28.3789 105.82 30.1865L105.827 30.4521C105.857 31.0331 105.981 31.3463 106.095 31.5C106.183 31.6191 106.324 31.7305 106.701 31.7305C107.809 31.7305 109.085 31.2746 110.547 30.208C112.009 29.1418 113.598 27.5076 115.311 25.2646L115.312 25.2617C118.752 20.7882 120.74 16.4207 121.349 12.1572L122.689 2.80957L130.965 0L130.538 1.76562ZM129.56 33.2822C129.532 33.3146 129.504 33.3469 129.477 33.3789C129.499 33.3526 129.523 33.3273 129.546 33.3008C129.562 33.2818 129.577 33.2615 129.593 33.2422C129.581 33.2554 129.571 33.2691 129.56 33.2822ZM126.111 33.2031L126.308 33.1836C126.32 33.1819 126.332 33.1784 126.344 33.1758C126.266 33.1875 126.189 33.1978 126.111 33.2031ZM125.311 32.9072C125.318 32.9173 125.326 32.926 125.334 32.9355C125.305 32.8984 125.277 32.8582 125.252 32.8135L125.311 32.9072ZM129.078 31.4766L129.277 31.2539C129.286 31.2445 129.293 31.2345 129.301 31.2246C129.226 31.3112 129.153 31.3957 129.078 31.4766ZM132.583 26.4639C132.565 26.4507 132.548 26.4365 132.529 26.4238C132.518 26.4163 132.506 26.4098 132.495 26.4023C132.526 26.4225 132.554 26.4437 132.583 26.4639Z" fill="white"/>
+<svg width="906" height="255" viewBox="0 0 906 255" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M82.9898 168.936C90.6299 163.412 102.031 165.096 111.043 164.039C130.28 162.941 149.87 161.649 168.716 160.708C180.822 160.003 193.242 159.494 204.683 155.066C238.104 142.49 238.652 104.25 225.488 74.7864C191.401 -6.94309 85.8108 -17.9918 29.5874 45.0488C-5.2828 83.9546 -9.00491 148.562 16.6972 193.737C31.7423 220.34 56.5041 239.969 85.0272 248.667C122.444 259.52 166.443 254.662 198.571 231.428C216.75 219.087 229.837 198.909 215.967 178.183C209.502 168.505 197.278 165.449 186.778 168.975C178.942 171.287 171.654 175.988 164.367 179.789C156.256 184.099 147.676 187.429 138.665 189.114C122.718 191.974 104.735 191.739 90.434 184.138C85.4189 181.709 77.6221 174.186 82.8722 169.054L82.9898 168.936ZM74.9187 103.897L74.762 103.78C68.8458 99.4307 73.0381 89.6357 77.3479 84.8949C93.5292 65.8534 124.168 62.3272 146.226 72.9058C154.219 76.7455 170.4 89.2439 162.564 99.1564C159.587 102.291 153.435 103.231 147.206 103.584C141.838 103.897 136.157 104.171 130.241 104.485C120.172 104.994 109.828 105.543 99.798 106.052C92.1579 106.248 80.4039 108.05 74.9187 103.976V103.897Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M434.276 38.8172C405.674 7.86494 357.444 -2.8312 314.267 12.1356C313.954 12.2531 313.68 12.3706 313.366 12.4882C307.646 5.55331 299.222 0.890877 289.545 0.107277C270.582 -1.38156 254.008 12.8016 252.52 31.7647L238.767 207.409C237.279 226.372 251.462 242.945 270.425 244.434C289.388 245.923 305.961 231.74 307.45 212.776L316.226 100.604C317.323 86.8126 328.02 80.2696 336.835 77.2136C353.722 71.3366 373.86 74.9411 383.694 85.5589C390.198 92.5721 393.92 107.813 393.646 126.345C393.333 150.128 386.633 178.886 374.8 207.33C367.513 224.883 375.819 245.061 393.372 252.348C396.82 253.798 400.385 254.621 403.911 254.895C418.369 256.031 432.552 247.882 438.39 233.777C472.084 152.713 470.517 77.9971 434.237 38.7779L434.276 38.8172Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M628.842 110.281C615.286 104.365 599.457 100.408 584.177 96.6075C574.931 94.2958 560.316 90.6521 550.208 86.8516C545.546 85.0885 545.075 78.6238 549.464 76.273C549.503 76.273 549.542 76.2338 549.62 76.1946C562.746 69.3381 586.998 70.0826 608.273 84.5792C623.71 95.0794 644.984 92.1409 655.759 76.8999C666.573 61.6197 662.851 40.5017 647.531 29.8055C607.959 2.18359 556.085 -3.18408 518.433 16.4451C490.576 30.9809 474.63 56.6046 474.63 86.7732C474.63 100.917 479.841 127.246 514.633 144.681C530.736 152.713 549.62 157.415 567.839 161.96C574.46 163.605 583.394 165.839 591.112 168.189C596.284 169.757 597.302 176.731 592.718 179.63C592.679 179.63 592.64 179.669 592.601 179.708C577.477 189.151 551.618 191.658 524.428 170.344C509.578 158.747 488.069 161.529 476.745 176.652C465.618 191.462 469.066 212.659 483.759 224.021C511.851 245.727 540.726 253.876 566.624 253.876C590.877 253.876 612.465 246.706 628.333 236.833C659.599 217.321 675.545 184.684 668.963 153.693C664.966 134.73 651.449 120.155 628.882 110.281H628.842Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M888.848 26.0037C883.989 8.05927 865.536 -2.59769 847.552 2.26063C829.607 7.11896 818.95 25.5727 823.809 43.5564C833.29 78.74 849.158 137.588 827.923 169.285C827.923 169.324 827.844 169.403 827.805 169.442C821.575 178.845 801.711 187.23 785.452 183.978C785.373 183.978 785.295 183.978 785.256 183.938C751.365 177.395 747.682 124.385 746.859 70.6298C746.781 64.8311 746.703 59.3851 746.507 54.3309C745.88 35.7203 730.286 21.1846 711.715 21.8115C693.104 22.4384 678.568 38.032 679.195 56.6033C679.352 61.0306 679.43 66.2024 679.509 71.6876C679.94 98.4476 680.488 135.12 690.127 168.07C707.092 225.939 744.195 244.628 772.365 250.074C781.965 251.994 791.877 252.464 801.75 251.681C834.74 249.016 867.064 232.13 883.911 206.702C922.111 149.577 901.268 72.2361 888.808 26.0429L888.848 26.0037Z" fill="white" style="fill:white;fill-opacity:1;"/>
</svg>
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Auth/AuthFlowView.swift b/mobile/native/darwin/Apps/ensu/ensu/Auth/AuthFlowView.swift
index 14f73a7714..ba94dd67ff 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Auth/AuthFlowView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Auth/AuthFlowView.swift
@@ -72,7 +72,7 @@ struct AuthFlowView: View {
}
},
center: {
- EnsuLogo(height: 20)
+ EnsuLogo(height: 23)
},
trailing: {
Button("Close") {
@@ -100,7 +100,7 @@ struct AuthFlowView: View {
#if os(iOS)
.toolbar {
ToolbarItem(placement: .principal) {
- EnsuLogo(height: 20)
+ EnsuLogo(height: 23)
}
ToolbarItem(placement: trailingPlacement) {
@@ -217,7 +217,7 @@ struct AuthFlowView: View {
}
ToolbarItem(placement: .principal) {
- EnsuLogo(height: 20)
+ EnsuLogo(height: 23)
}
ToolbarItem(placement: trailingPlacement) {
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatView.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatView.swift
index 400b596040..cd6a10534f 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/ChatView.swift
@@ -175,11 +175,6 @@ struct ChatView: View {
onDismiss: { viewState.showAttachmentDownloads = false }
)
}
- .sheet(isPresented: $viewState.showSignInComingSoon) {
- ComingSoonSheet(title: "Sign in", message: "Coming soon") {
- viewState.showSignInComingSoon = false
- }
- }
.sheet(isPresented: $viewState.showModelSettings) {
ModelSettingsView(embeddedInNavigation: true)
}
@@ -227,6 +222,16 @@ struct ChatView: View {
Text("")
}
}
+ .overlay {
+ if viewState.showSignInComingSoon {
+ SignInComingSoonDialog(
+ title: "Coming Soon",
+ message: "Sign in and cloud backup will be available in a future update."
+ ) {
+ viewState.showSignInComingSoon = false
+ }
+ }
+ }
.overlay(alignment: .bottom) {
if let toastMessage = viewState.toastMessage {
ToastView(message: toastMessage.text)
@@ -242,7 +247,7 @@ struct ChatView: View {
ChatAppBar(
sessionTitle: viewModel.currentSessionId.map { viewModel.sessionTitle(for: $0) } ?? "New chat",
showBrand: viewModel.messages.isEmpty,
- showSignIn: EnsuFeatureFlags.enableSignIn && !appState.isLoggedIn,
+ showSignIn: !appState.isLoggedIn,
showsMenuButton: showsMenuButton,
attachmentDownloadSummary: viewModel.attachmentDownloadSummary,
modelDownloadState: viewModel.downloadToast,
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift
index ac0eb842ae..4fcff062fa 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/Components/ChatViewComponents.swift
@@ -44,7 +44,7 @@ struct DownloadOnboardingView: View {
onDownload()
}
.font(EnsuTypography.body)
- .foregroundStyle(EnsuColor.backgroundBase)
+ .foregroundStyle(Color.black)
.frame(maxWidth: 200)
.padding(.vertical, EnsuSpacing.md)
.background(EnsuColor.accent)
@@ -65,52 +65,61 @@ struct DownloadOnboardingView: View {
let clamped = min(max(percent, 0), 100)
ProgressView(value: Double(clamped), total: 100)
.progressViewStyle(.linear)
- .tint(EnsuColor.accent)
+ .tint(EnsuColor.action)
.frame(maxWidth: 240)
} else {
ProgressView()
.progressViewStyle(.linear)
- .tint(EnsuColor.accent)
+ .tint(EnsuColor.action)
.frame(maxWidth: 240)
}
}
}
-struct ComingSoonSheet: View {
+struct SignInComingSoonDialog: View {
let title: String
let message: String
let onDismiss: () -> Void
var body: some View {
- VStack(spacing: EnsuSpacing.lg) {
- RoundedRectangle(cornerRadius: EnsuCornerRadius.card, style: .continuous)
- .fill(EnsuColor.fillFaint)
- .frame(height: 180)
- .overlay(
- Text("Illustration")
- .font(EnsuTypography.small)
- .foregroundStyle(EnsuColor.textMuted)
- )
+ ZStack {
+ Color.black.opacity(0.3)
+ .ignoresSafeArea()
+ .onTapGesture { onDismiss() }
- Text(title)
- .font(EnsuTypography.large)
- .foregroundStyle(EnsuColor.textPrimary)
+ VStack(spacing: EnsuSpacing.lg) {
+ Text(title)
+ .font(EnsuTypography.large)
+ .foregroundStyle(EnsuColor.textPrimary)
+ .multilineTextAlignment(.center)
- Text(message)
- .font(EnsuTypography.body)
- .foregroundStyle(EnsuColor.textMuted)
- .multilineTextAlignment(.center)
+ Text(message)
+ .font(EnsuTypography.body)
+ .foregroundStyle(EnsuColor.textMuted)
+ .multilineTextAlignment(.center)
- Button("Got it") {
- onDismiss()
+ Button(action: {
+ hapticTap()
+ onDismiss()
+ }) {
+ Text("Got it")
+ .font(EnsuTypography.body)
+ .foregroundStyle(Color.black)
+ .frame(maxWidth: .infinity)
+ .padding(.vertical, EnsuSpacing.md)
+ .background(EnsuColor.accent)
+ .clipShape(RoundedRectangle(cornerRadius: EnsuCornerRadius.button, style: .continuous))
+ }
+ .buttonStyle(.plain)
}
- .buttonStyle(.borderedProminent)
- .tint(EnsuColor.accent)
+ .padding(EnsuSpacing.lg)
+ .frame(maxWidth: 360)
+ .background(EnsuColor.backgroundBase)
+ .clipShape(RoundedRectangle(cornerRadius: EnsuCornerRadius.card, style: .continuous))
+ .padding(.horizontal, EnsuSpacing.pageHorizontal)
+ .shadow(color: .black.opacity(0.2), radius: 12, x: 0, y: 4)
}
- .padding(EnsuSpacing.xl)
- .frame(maxWidth: .infinity, maxHeight: .infinity)
- .background(EnsuColor.backgroundBase)
}
}
@@ -128,7 +137,7 @@ struct AttachmentDownloadsSheet: View {
Spacer()
Button("Close", action: onDismiss)
.font(EnsuTypography.small)
- .foregroundStyle(EnsuColor.accent)
+ .foregroundStyle(EnsuColor.action)
}
.padding(.horizontal, EnsuSpacing.pageHorizontal)
.padding(.vertical, EnsuSpacing.sm)
@@ -262,7 +271,7 @@ struct ChatAppBar: View {
}) {
Text("Sign In")
.font(EnsuTypography.small)
- .foregroundStyle(EnsuColor.accent)
+ .foregroundStyle(EnsuColor.action)
}
.buttonStyle(.plain)
} else {
@@ -296,7 +305,7 @@ struct ChatAppBar: View {
}
if showBrand {
- EnsuLogo(height: 20)
+ EnsuLogo(height: 21)
.padding(.horizontal, centerInset)
} else {
Text(sessionTitle)
@@ -321,12 +330,12 @@ struct ModelProgressIndicator: View {
if state.phase == .downloading {
ProgressView(value: Double(clamped), total: 100)
.progressViewStyle(.circular)
- .tint(EnsuColor.accent)
+ .tint(EnsuColor.action)
.frame(width: 16, height: 16)
} else {
ProgressView()
.progressViewStyle(.circular)
- .tint(EnsuColor.accent)
+ .tint(EnsuColor.action)
.frame(width: 16, height: 16)
}
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/DownloadToastView.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/DownloadToastView.swift
index 7a1c14bf73..3c5eb9c2c5 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/DownloadToastView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/DownloadToastView.swift
@@ -127,7 +127,7 @@ struct DownloadToastView: View {
onRetry()
}
.font(EnsuTypography.small)
- .foregroundStyle(EnsuColor.accent)
+ .foregroundStyle(EnsuColor.action)
}
}
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift
index ac380c16e1..f6aebfda50 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift
@@ -248,7 +248,7 @@ struct MessageInputView: View {
.resizable()
.scaledToFit()
.frame(width: 14, height: 14)
- .foregroundStyle(EnsuColor.accent)
+ .foregroundStyle(EnsuColor.action)
Text("Editing:")
.font(EnsuTypography.small)
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift
index 393e2a65f3..ceb76118f4 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift
@@ -75,17 +75,11 @@ struct SessionDrawerView: View {
headerControls
}
.padding(EnsuSpacing.lg)
- .background(
- LinearGradient(
- colors: [EnsuColor.accent.opacity(0.2), EnsuColor.backgroundBase],
- startPoint: .topLeading,
- endPoint: .bottomTrailing
- )
- )
+ .background(EnsuColor.backgroundBase)
}
private var drawerLogo: some View {
- EnsuLogo(height: 28)
+ EnsuLogo(height: 27)
}
private var headerControls: some View {
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Components/DialogViews.swift b/mobile/native/darwin/Apps/ensu/ensu/Components/DialogViews.swift
index 3a21830821..92597bd51a 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Components/DialogViews.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Components/DialogViews.swift
@@ -12,7 +12,7 @@ enum ChoiceDialogButtonType {
case .neutral:
return EnsuColor.textMuted
case .normal:
- return EnsuColor.accent
+ return EnsuColor.action
}
}
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuComponents.swift b/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuComponents.swift
index f55149bfd0..0eda641725 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuComponents.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuComponents.swift
@@ -15,11 +15,11 @@ struct PrimaryButton: View {
ZStack {
if isLoading {
ProgressView()
- .tint(EnsuColor.backgroundBase)
+ .tint(Color.black)
} else {
Text(text)
.font(EnsuFont.ui(size: 18, weight: .semibold))
- .foregroundStyle(EnsuColor.backgroundBase)
+ .foregroundStyle(Color.black)
}
}
}
@@ -54,7 +54,7 @@ struct TextLink: View {
.underline()
}
.buttonStyle(.plain)
- .foregroundStyle(EnsuColor.accent)
+ .foregroundStyle(EnsuColor.action)
}
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift b/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift
index ab8c4ce991..51998690b1 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/DesignSystem/EnsuTheme.swift
@@ -15,7 +15,8 @@ enum EnsuColor {
static let textMuted = Color(PlatformColor.dynamic(light: "#8A8680", dark: "#777777"))
static let border = Color(PlatformColor.dynamic(light: "#D4D0C8", dark: "#2A2A2A"))
static let fillFaint = Color(PlatformColor.dynamic(light: "#F0EBE4", dark: "#1E1E1E"))
- static let accent = Color(PlatformColor.dynamic(light: "#9A7E0A", dark: "#FFD700"))
+ static let accent = Color(PlatformColor.dynamic(light: "#F4D93B", dark: "#F4D93B"))
+ static let action = Color(PlatformColor.dynamic(light: "#1A1A1A", dark: "#F4D93B"))
static let userMessageText = Color(PlatformColor.dynamic(light: "#555555", dark: "#999999"))
static let error = Color(hex: "#FF4444")
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Info.plist b/mobile/native/darwin/Apps/ensu/ensu/Info.plist
index 3826075114..5a877f5479 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Info.plist
+++ b/mobile/native/darwin/Apps/ensu/ensu/Info.plist
@@ -21,10 +21,10 @@
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.1.0</string>
+ <string>0.1.2</string>
<key>CFBundleVersion</key>
- <string>17</string>
+ <string>20</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
diff --git a/mobile/native/darwin/Apps/ensu/ensu/ModelSettings/ModelSettingsView.swift b/mobile/native/darwin/Apps/ensu/ensu/ModelSettings/ModelSettingsView.swift
index 9313b7b9ab..9c537db165 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/ModelSettings/ModelSettingsView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/ModelSettings/ModelSettingsView.swift
@@ -285,7 +285,7 @@ struct ModelSettingsView: View {
mmprojUrl = model.mmproj ?? ""
}
.font(EnsuTypography.small)
- .foregroundStyle(EnsuColor.accent)
+ .foregroundStyle(EnsuColor.action)
}
.padding(EnsuSpacing.md)
.background(EnsuColor.fillFaint)
diff --git a/mobile/native/darwin/Apps/ensu/ensu/RootView.swift b/mobile/native/darwin/Apps/ensu/ensu/RootView.swift
index acf7c2971a..473a19f754 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/RootView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/RootView.swift
@@ -9,6 +9,6 @@ struct RootView: View {
HomeView()
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
- .tint(EnsuColor.accent)
+ .tint(EnsuColor.action)
}
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift b/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift
index 284d715994..2745881110 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift
@@ -117,7 +117,6 @@ struct SettingsView: View {
}
private var shouldShowSignInRow: Bool {
- guard EnsuFeatureFlags.enableSignIn else { return false }
guard !isLoggedIn else { return false }
guard !trimmedQuery.isEmpty else { return true }
let q = trimmedQuery.lowercased()