Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.7.1 RC #2159

Merged
merged 156 commits into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
03f1b74
keep active coins when resetting config
smk762 Feb 24, 2022
3ddfc0e
remove logs
smk762 Feb 24, 2022
7cd39db
use unnordered set
smk762 Feb 24, 2022
3e2d944
smaller loop
smk762 Feb 24, 2022
fbe6347
rm useless if, rename set
smk762 Feb 24, 2022
6b3a384
fs -> file
smk762 Mar 2, 2022
97cc5af
Merge pull request #1642 from KomodoPlatform/dev
smk762 Mar 2, 2022
2414c92
code style
smk762 May 17, 2022
8d9dcd8
Merge pull request #1771 from KomodoPlatform/dev
smk762 May 17, 2022
7197bd1
Merge pull request #1791 from KomodoPlatform/dev
smk762 Jun 13, 2022
55d49ab
avoid crash on delist
smk762 Jun 18, 2022
b82107e
mark active false if enable fails
smk762 Jun 18, 2022
742bfe4
Merge pull request #1854 from KomodoPlatform/dev
smk762 Jul 5, 2022
e8a39a7
Merge pull request #1910 from KomodoPlatform/dev
smk762 Aug 5, 2022
bd0298c
Merge branch 'dev' into keep_active_on_restart
smk762 Aug 31, 2022
b5dd355
align with dev
smk762 Sep 6, 2022
167475b
move restart after coins reset to backend
smk762 Sep 6, 2022
a3b0728
attempt edge crash fix
smk762 Sep 6, 2022
390eedf
merge in dev
smk762 Sep 13, 2022
494befc
rm log, fix file write
smk762 Sep 13, 2022
41cd270
detect and repair invalid json
smk762 Sep 13, 2022
53be153
Remove boost::filesystem references
Nov 14, 2022
5defc54
Style
Nov 16, 2022
15b80bf
remove zhtlc_enter_enabling and zhtlc_leave_enabling
smk762 Nov 17, 2022
a25fd9b
Make sure notifications title and message are retranslated when chang…
Nov 24, 2022
b42b61b
Fixed undefined variable
Nov 24, 2022
7db6bcb
Add missing header
Nov 25, 2022
be19d12
fix infinite fees loading issue
smk762 Nov 25, 2022
04edb6d
Merge pull request #2106 from KomodoPlatform/fix_notif_no_updated_on_…
Nov 25, 2022
9417aa9
handle error in fees response
smk762 Nov 25, 2022
9a93243
add simple mode placeholder for partially activated zhtlc
smk762 Nov 25, 2022
c5d7402
Remove batch failed event references
Nov 26, 2022
a84ec96
Remove mismatch custom coin config event
Nov 26, 2022
cbe2f98
rm duplicated signal trigger
smk762 Nov 27, 2022
092cdd5
add optional to hpp
SirSevenG Nov 28, 2022
e91f227
Merge pull request #2126 from KomodoPlatform/fix_build_clang15
Nov 28, 2022
da6b2f6
Swaping was showing two toast messages instead of one
Nov 28, 2022
3272dc1
Merge pull request #2123 from KomodoPlatform/remove-unused-events
tonymorony Nov 28, 2022
4b5f594
move preimage wait to before confirm modal
smk762 Nov 28, 2022
dd8d4db
no autoclose, reset fees after confirm/cancel
smk762 Nov 28, 2022
ba3a975
Merge pull request #2128 from KomodoPlatform/fix/place-order-duplicat…
tonymorony Nov 28, 2022
0ff1d93
show preimage error message, clear message on change
smk762 Nov 28, 2022
6c4160a
restore best order amount values
smk762 Nov 29, 2022
d6c52d2
implement ReceiveVolumeIsLowerThanTheMinimum error
smk762 Nov 29, 2022
c1df723
fix translation display bug for Turkish and Russian
smk762 Nov 30, 2022
fe90716
update a known Turkish translation
smk762 Nov 30, 2022
65d3a99
Merge pull request #2130 from KomodoPlatform/restore_qty
Nov 30, 2022
50ebce7
refactoring
Nov 30, 2022
83410d5
Fix: sometimes wrong ticker icon was shown in order and confirm trade…
Nov 30, 2022
dc44428
Merge remote-tracking branch 'origin/dev' into fix/trade-conf-modal-t…
Nov 30, 2022
fdf097c
Merge pull request #2097 from KomodoPlatform/crash_test_dummy
Nov 30, 2022
2c66ad9
update Spanish fees translation; fix warning overflow
smk762 Nov 30, 2022
0002382
Merge branch 'dev' into debug_fees
smk762 Nov 30, 2022
3ac5962
reduce extra calls, ensure fees display in simple mode
smk762 Nov 30, 2022
e9d3675
add Turkish translation for warning
smk762 Dec 1, 2022
06f1c20
Merge pull request #2114 from KomodoPlatform/debug_fees
smk762 Dec 1, 2022
77ab47a
Merge branch 'dev' into trade_error_refactor
smk762 Dec 1, 2022
91e6b53
fix busyindicator on sell coin when balance is zero
smk762 Dec 1, 2022
b841c10
disable input if no balance or info not ready
smk762 Dec 1, 2022
19f2ad0
Merge remote-tracking branch 'origin/dev' into fix/trade-conf-modal-t…
Dec 1, 2022
be3d894
update translations
smk762 Dec 2, 2022
8098f23
Update Russian translations
smk762 Dec 2, 2022
30d4c27
Add some fr translations
Dec 2, 2022
4cbf9ff
Fix fr translation
Dec 2, 2022
530b4cf
Merge pull request #2115 from KomodoPlatform/trade_error_refactor
smk762 Dec 2, 2022
68acfb0
update workflow to ensure using ubuntu 20.04
smk762 Dec 4, 2022
5511d63
Merge pull request #2132 from KomodoPlatform/fix_ts
smk762 Dec 4, 2022
273c5f5
Auftrag -> Order
cipig Dec 4, 2022
afa721a
Update style.qml
estar-app Dec 5, 2022
9d9655b
Merge pull request #2152 from KomodoPlatform/runner_update
Dec 5, 2022
4232666
Merge remote-tracking branch 'origin/dev' into remove_boost_filesyste…
Dec 5, 2022
337de85
fix filesystem errrors
smk762 Dec 5, 2022
db693e9
Merge pull request #2154 from KomodoPlatform/german_ts
smk762 Dec 6, 2022
7c7ed9c
merge in dev
smk762 Dec 6, 2022
5a8d779
Merge pull request #2134 from KomodoPlatform/fix/trade-conf-modal-tic…
Dec 6, 2022
6f16dea
Change checkbox style
smk762 Dec 6, 2022
08c249a
Make KMD right ticker & LTC left ticker
smk762 Dec 6, 2022
b9f61d7
handle simple view correctly
smk762 Dec 6, 2022
54b8583
add message when ZHTLC not yet fully activated
smk762 Dec 6, 2022
30a8a4e
fix overflow
smk762 Dec 6, 2022
f6ed64b
Merge pull request #2161 from KomodoPlatform/make_KMD_base_again
Dec 6, 2022
cb2a3ed
add theme selector entry for checkbox tick
smk762 Dec 7, 2022
969dbf2
make light mode tick less agressive
smk762 Dec 7, 2022
31fea8d
Merge pull request #2163 from KomodoPlatform/hide_unhatched_seeds
smk762 Dec 7, 2022
e686798
restore autofocus on wallet page
smk762 Dec 7, 2022
583566b
force zhtlc activation the good old fashioned way
smk762 Dec 7, 2022
269ee2e
fix orderbook column values
smk762 Dec 7, 2022
834ee9e
better min vol logic
smk762 Dec 7, 2022
ce7eb8b
Merge pull request #2160 from KomodoPlatform/tweak_checkbox
smk762 Dec 7, 2022
0d2ce7a
Merge pull request #2167 from KomodoPlatform/wallet_page_autofocus
smk762 Dec 8, 2022
2611a8e
Merge pull request #2169 from KomodoPlatform/pro_view_orderbook_fixes
Dec 8, 2022
a625c0f
ci: try macos 10.15
Dec 8, 2022
b10aac1
ci: put macos 10.15 in ci scripts
Dec 8, 2022
cf26bc9
copy SIX and NATURE icons from coins repo
cipig Dec 8, 2022
20b879e
fix conflicts
smk762 Dec 8, 2022
c218e96
build: remove boost::fs references
Dec 8, 2022
5e1d217
Merge pull request #2073 from KomodoPlatform/remove_boost_filesystem_…
Dec 9, 2022
6242841
Merge pull request #2172 from KomodoPlatform/add_coins
Dec 9, 2022
ae9680b
Merge pull request #2168 from KomodoPlatform/no_activation_pop_up_for…
smk762 Dec 9, 2022
61c9a91
merge dev and fix conflicts
smk762 Dec 10, 2022
6e7b678
Merge pull request #1632 from KomodoPlatform/keep_active_on_restart
tonymorony Dec 10, 2022
d2dd4bd
limit warning text values to 8dp
smk762 Dec 11, 2022
c998372
Merge pull request #2178 from KomodoPlatform/warning_overflow
Dec 12, 2022
3184752
Merge remote-tracking branch 'origin/dev' into fix_min_vol
Dec 12, 2022
e3b2a74
Merge remote-tracking branch 'origin/dev' into fix_min_vol
Dec 12, 2022
455eb4f
update ifw to 4.5.1
smk762 Dec 12, 2022
e350241
Merge pull request #2182 from KomodoPlatform/update_ifw
Dec 12, 2022
c39c29c
Merge remote-tracking branch 'origin/dev' into fix_min_vol
Dec 12, 2022
16941db
Update style.qml
estar-app Dec 13, 2022
8494ac9
Merge pull request #2170 from KomodoPlatform/fix_min_vol
smk762 Dec 20, 2022
9277816
cache qt
smk762 Dec 30, 2022
7f55c37
cache linux apt
smk762 Jan 1, 2023
9d1c37b
try vcpkg v 10
smk762 Jan 1, 2023
d0ba24a
apt cache on linux only
smk762 Jan 1, 2023
f274afa
try latest qt-install-action
smk762 Jan 2, 2023
09306b6
rm qt modules causing fail
smk762 Jan 2, 2023
be7c597
fix vcpkg cache key
smk762 Jan 2, 2023
1e50789
use latest nim
smk762 Jan 2, 2023
7aab286
try latest nim
smk762 Jan 2, 2023
c8ca245
update deprecated nim funcs, find sdk path
smk762 Jan 2, 2023
14dfaea
try new sdk path
smk762 Jan 2, 2023
31f61f6
test path
smk762 Jan 2, 2023
be16f34
use upstream libwally
smk762 Jan 2, 2023
0547d23
use old libwally & new nim
smk762 Jan 2, 2023
f24a92d
nim path check
smk762 Jan 2, 2023
159af12
update actions/checkout and actions/upload-artifact
smk762 Jan 2, 2023
d38e41b
update action msvc-dev-cmd
smk762 Jan 2, 2023
0cafe50
update setup-python action to v4
smk762 Jan 3, 2023
8d0d268
update cache-apt-pkgs-action to v1.2.2
smk762 Jan 3, 2023
2c8a4f9
rm failing apt-cache action, restore apt section to linux script
smk762 Jan 3, 2023
8037f6c
rm_icons
smk762 Jan 7, 2023
b95cc4f
ignore icons, use coins repo source
smk762 Jan 7, 2023
be59dda
Merge pull request #2190 from KomodoPlatform/cache-CI-deps
smk762 Jan 8, 2023
bd59e40
Merge pull request #2194 from KomodoPlatform/source_coins_icons
smk762 Jan 9, 2023
a431369
no console logs for release builds
smk762 Jan 21, 2023
08f4975
Merge pull request #2201 from KomodoPlatform/no_syslog_for_release
tonymorony Feb 13, 2023
fdbafff
Merge pull request #2157 from estar-app/patch-1
smk762 Feb 19, 2023
10201e7
0.5.7 -> 0.5.7.1
smk762 Mar 4, 2023
9d74a7f
source coin icons before make for windows
smk762 Mar 4, 2023
d8833f7
Add KIP0001
smk762 Mar 4, 2023
489072e
use PROJECT_APP_PATH for archivegen
smk762 Mar 4, 2023
8f13b36
rm vcpkgJsonGlob for cache
smk762 Mar 4, 2023
83d6d5d
try cache workaround
smk762 Mar 4, 2023
8f219d3
change zip path
smk762 Mar 4, 2023
2512cab
change zip path
smk762 Mar 4, 2023
a8a2966
clean up logs
smk762 Mar 4, 2023
b74859a
renamed zip
smk762 Mar 5, 2023
5201d76
fix installer bin path
smk762 Mar 5, 2023
9e231f6
change default port to 7762
smk762 Mar 6, 2023
7612e63
Merge pull request #2218 from KomodoPlatform/restore_win_coins
smk762 Mar 6, 2023
360caec
Merge pull request #2221 from KomodoPlatform/fix_installer
smk762 Mar 6, 2023
626b4b9
Merge pull request #2220 from KomodoPlatform/add_kip0001
smk762 Mar 6, 2023
737b58f
Merge pull request #2224 from KomodoPlatform/change_mm2_port
smk762 Mar 6, 2023
769e872
fix precedent_raw_version
smk762 Mar 6, 2023
551b44f
better logging for coins file update
smk762 Mar 6, 2023
146b1ea
Merge pull request #2217 from KomodoPlatform/update_version_0571
smk762 Mar 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Please describe what you expected to happen.
**Operating Environment(s):**
- OS: [e.g. Windows/OSX/Linux. If Linux, include distro. ]
- OS version: [e.g. 7/10/11, 10.13/10.15, 18.04/20.04 ]
- AtomicDEX Version: [e.g. 0.5.7]
- AtomicDEX Version: [e.g. 0.5.7.1]
- Build branch: [e.g. master/dev]


Expand Down
92 changes: 44 additions & 48 deletions .github/workflows/atomicdex-desktop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:

env:
DEX_API: "mm2"
DEX_RPCPORT: 7783
DEX_RPC: "http://127.0.0.1:7783"
DEX_RPCPORT: 7762
DEX_RPC: "http://127.0.0.1:7762"
DEX_PROJECT_NAME: "atomicdex-desktop"
DEX_DISPLAY_NAME: "AtomicDex Desktop"
DEX_COMPANY: "KomodoPlatform"
Expand All @@ -38,13 +38,13 @@ jobs:

include:
- name: ubuntu-release
os: ubuntu-latest
os: ubuntu-20.04
qt: '5.15.2'
type: 'Release'
host: 'linux'

- name: ubuntu-debug
os: ubuntu-latest
os: ubuntu-20.04
qt: '5.15.2'
type: 'Debug'
host: 'linux'
Expand Down Expand Up @@ -74,19 +74,19 @@ jobs:
host: 'windows'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: 'true'

- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install MSVC
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1.4.1
uses: ilammy/msvc-dev-cmd@v1.12.0

- name: Build libwally (Windows)
if: runner.os == 'Windows'
Expand All @@ -107,64 +107,54 @@ jobs:

- name: Install QT (macOS)
if: runner.os == 'macOS'
uses: KomodoPlatform/install-qt-action@v2.14.0
uses: jurplel/install-qt-action@v3.0.0
with:
version: ${{ matrix.qt }}
setup-python: 'false'
host: ${{ matrix.host }}
target: 'desktop'
dir: '${{ github.workspace }}'
modules: 'qtcharts qtwidgets debug_info qtwebengine qtwebview'
target: 'desktop'
modules: 'qtcharts debug_info qtwebengine'
tools: 'tools_ifw'
setup-python: 'false'
cache: true

- name: Install QT (Linux)
if: runner.os == 'Linux'
uses: KomodoPlatform/install-qt-action@v2.14.0
uses: jurplel/install-qt-action@v3.0.0
with:
version: ${{ matrix.qt }}
setup-python: 'false'
host: ${{ matrix.host }}
target: 'desktop'
dir: '${{ github.workspace }}'
modules: 'qtcharts qtwidgets debug_info qtwebengine qtwebview'
aqtversion: '==0.8'
py7zrversion: '==0.6'
target: 'desktop'
modules: 'qtcharts debug_info qtwebengine'
setup-python: 'false'
cache: true

- name: Install QT (Windows)
if: runner.os == 'Windows'
uses: KomodoPlatform/install-qt-action@v2.14.0
uses: jurplel/install-qt-action@v3.0.0
with:
version: ${{ matrix.qt }}
host: ${{ matrix.host }}
dir: 'C:\'
target: 'desktop'
modules: 'qtcharts debug_info qtwebengine'
tools: 'tools_ifw'
arch: 'win64_msvc2019_64'
dir: 'C:\'
modules: 'qtcharts qtwidgets debug_info qtwebview qtwebengine'

- name: Install QT IFW (MacOS)
if: runner.os == 'macOS'
run: |
python3 -m aqt tool ${{ matrix.host }} tools_ifw 4.5.0 qt.tools.ifw.45 --outputdir ${{ github.workspace }}/Qt
echo "${{ github.workspace }}/Qt/Tools/QtInstallerFramework/4.5/bin" >> $GITHUB_PATH

- name: Install QT IFW (Windows)
if: runner.os == 'Windows'
run: |
python -m pip install --upgrade pip
python -m aqt tool ${{ matrix.host }} tools_ifw 4.5.0 qt.tools.ifw.45 --outputdir C:/Qt
echo "C:/Qt/Tools/QtInstallerFramework/4.5/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
cache: true

- name: Install nim (Linux)
if: runner.os == 'Linux'
run: |
export DEBIAN_FRONTEND=noninteractive
export SHELL=/bin/bash
echo "CHOOSENIM_CHOOSE_VERSION=1.4.8" >> $GITHUB_ENV
export CHOOSENIM_CHOOSE_VERSION=1.4.8
echo "CHOOSENIM_CHOOSE_VERSION=1.6.10" >> $GITHUB_ENV
export CHOOSENIM_CHOOSE_VERSION=1.6.10
curl https://nim-lang.org/choosenim/init.sh > choosenim.sh
chmod +x choosenim.sh
./choosenim.sh -y
export PATH=/home/runner/.nimble/bin:$PATH
chmod +x /home/runner/.choosenim/toolchains/nim-1.4.8/bin/*
chmod +x /home/runner/.choosenim/toolchains/nim-1.6.10/bin/*

- name: Install deps (Linux)
if: runner.os == 'Linux'
Expand All @@ -191,11 +181,11 @@ jobs:
echo "CC=clang-12" >> $GITHUB_ENV

- name: vcpkg deps (All)
uses: KomodoPlatform/run-vcpkg@v7
uses: lukka/run-vcpkg@v10
with:
vcpkgDirectory: '${{ github.workspace }}/ci_tools_atomic_dex/vcpkg-repo'
setupOnly: true
appendedCacheKey: ${{ hashFiles('vcpkg.json') }}
vcpkgJsonGlob: 'vcpkg.json'


- name: import code signing certificates (macos)
Expand All @@ -222,19 +212,25 @@ jobs:
- name: Build AtomicDEX (MacOS)
if: runner.os == 'macOS'
run: |
xcrun --sdk macosx --show-sdk-path
export SDK_PATH=$(xcrun --sdk macosx --show-sdk-path)
ls /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
echo $HOME/sdk
ls $HOME/sdk
export MAC_SIGN_IDENTITY="${{ secrets.MAC_SIGN_IDENTITY }}"
export INSTALLER_MAC_SIGN_IDENTITY="${{ secrets.INSTALLER_MAC_SIGN_IDENTITY }}"
export APPLE_ATOMICDEX_PASSWORD="${{ secrets.APPLE_ATOMICDEX_PASSWORD }}"
export APPLE_ID="${{ secrets.APPLE_ID }}"
export ASC_PUBLIC_ID="${{ secrets.ASC_PUBLIC_ID }}"
export QT_INSTALL_CMAKE_PATH=${{ github.workspace }}/Qt/${{ matrix.qt }}/clang_64/lib/cmake
export QT_ROOT=${{ github.workspace }}/Qt/${{ matrix.qt }}
export MACOSX_DEPLOYMENT_TARGET=10.13
export MACOSX_DEPLOYMENT_TARGET=10.15
export CC=clang
export CXX=clang++
cd ci_tools_atomic_dex
nimble build -y
./ci_tools_atomic_dex bundle ${{ matrix.type }} --osx_sdk=$HOME/sdk/MacOSX10.14.sdk --compiler=clang++
./ci_tools_atomic_dex bundle ${{ matrix.type }} --osx_sdk=$HOME/sdk/MacOSX10.15.sdk --compiler=clang++



- name: Build AtomicDEX (Linux)
Expand Down Expand Up @@ -276,23 +272,23 @@ jobs:

- name: Upload bundle artifact (Linux ZSTD)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_zstd }}
path: ./bundled/linux/${{ env.target_name_zstd }}
retention-days: 7

- name: Upload bundle artifact (Linux ZIP)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_zip }}
path: ./bundled/linux/${{ env.target_name_zip }}
retention-days: 7

- name: Upload bundle artifact (Linux AppImage)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_appimage }}
path: ./bundled/linux/${{ env.target_name_appimage }}
Expand All @@ -306,15 +302,15 @@ jobs:

- name: Upload artifacts (MacOS dmg)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_dmg }}
path: ./bundled/osx/${{ env.DEX_PROJECT_NAME }}.dmg
retention-days: 7

- name: Upload artifacts (MacOS installer)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_installer }}
path: ./bundled/osx/${{ env.DEX_PROJECT_NAME }}_installer.7z
Expand All @@ -329,15 +325,15 @@ jobs:

- name: Upload artifacts (Windows zip)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_zip }}
path: ./bundled/windows/bin.zip
path: ./bundled/windows/${{ env.DEX_PROJECT_NAME }}.zip
retention-days: 7

- name: Upload artifacts (Windows installer)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name_installer }}
path: ./bundled/windows/${{ env.DEX_PROJECT_NAME }}_installer.exe
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ include(vcpkg_prerequisites)
include(qt_prerequisites)
include(cfg_hash)

project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.5.7)
project(${DEX_PROJECT_NAME} LANGUAGES CXX VERSION 0.5.7.1)
message(STATUS "${PROJECT_NAME} is version ${PROJECT_VERSION}")

include(cmake_default_options)
include(ipo_prerequisites)

##! Options
option(PREFER_BOOST_FILESYSTEM "Enable to use boost filesystem instead of std::filesystem" OFF)
option(WITH_HOTRELOAD "Enable to use qml Hot reload" OFF)

if (NOT WITH_HOTRELOAD)
Expand Down Expand Up @@ -91,6 +90,7 @@ if (UNIX)
configure_file(${jl777-coins_SOURCE_DIR}/utils/coins_config.json ${CMAKE_CURRENT_SOURCE_DIR}/assets/config/${PROJECT_VERSION}-coins.json COPYONLY)
configure_file(${jl777-coins_SOURCE_DIR}/coins ${CMAKE_CURRENT_SOURCE_DIR}/assets/tools/mm2/coins COPYONLY)
configure_file(${mm2_SOURCE_DIR}/mm2 ${CMAKE_CURRENT_SOURCE_DIR}/assets/tools/mm2/${DEX_API} COPYONLY)
file(COPY ${jl777-coins_SOURCE_DIR}/icons/ DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/atomic_defi_design/assets/images/coins/)
else ()
configure_file(${jl777-coins_SOURCE_DIR}/utils/coins_config.json ${CMAKE_BINARY_DIR}/bin/assets/config/${PROJECT_VERSION}-coins.json COPYONLY)
configure_file(${jl777-coins_SOURCE_DIR}/coins ${CMAKE_BINARY_DIR}/bin/assets/tools/mm2/coins COPYONLY)
Expand Down
1 change: 1 addition & 0 deletions assets/themes/Binance - Dark/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"gradientButtonTextHoveredColor": "#000000FF",
"gradientButtonTextPressedColor": "#000000FF",

"checkBoxTickColor": "#FFFFFFFF",
"checkBoxGradientStartColor": "#cb9800FF",
"checkBoxGradientEndColor": "#EBB514FF",

Expand Down
5 changes: 3 additions & 2 deletions assets/themes/Default - Dark/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
"gradientButtonTextHoveredColor": "#FFFFFFFF",
"gradientButtonTextPressedColor": "#FFFFFFFF",

"checkBoxGradientStartColor": "#8892EBFF",
"checkBoxGradientEndColor": "#9DD4F3FF",
"checkBoxTickColor": "#FFFFFFFF",
"checkBoxGradientStartColor": "#6673E3FF",
"checkBoxGradientEndColor": "#5EBBF0FF",

"switchGradientStartColor": "#1D80B0FF",
"switchGradientEndColor": "#5B69E6FF",
Expand Down
1 change: 1 addition & 0 deletions assets/themes/Default - Light/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"gradientButtonTextHoveredColor": "#FFFFFFFF",
"gradientButtonTextPressedColor": "#FFFFFFFF",

"checkBoxTickColor": "#456078FF",
"checkBoxGradientStartColor": "#8892EBFF",
"checkBoxGradientEndColor": "#9DD4F3FF",

Expand Down
26 changes: 16 additions & 10 deletions atomic_defi_design/Dex/Addressbook/AddAddressForm.qml
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,22 @@ Dex.Rectangle
showAssetStandards: useStandardsCheckBox.checked
}

Dex.DefaultCheckBox
{
id: useStandardsCheckBox
Layout.preferredWidth: 150
Layout.fillHeight: true
Layout.leftMargin: 4
boxWidth: 22
boxHeight: 22
text: qsTr("Use standard network address")
font: Dex.DexTypo.caption
RowLayout {
id: rowLayout
spacing: 4
Dex.DefaultCheckBox
{
id: useStandardsCheckBox
Layout.preferredWidth: 30
Layout.fillHeight: true
Layout.leftMargin: 4
}
Dex.DefaultText {
Layout.minimumWidth: 120
Layout.maximumWidth: 120
text: qsTr("Use standard network address")
font: Dex.DexTypo.caption
}
}
}

Expand Down
26 changes: 20 additions & 6 deletions atomic_defi_design/Dex/Components/DexCheckBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ CheckBox
id: _indicator
anchors.verticalCenter: control.verticalCenter

implicitWidth: 26
implicitHeight: 26
radius: 20
implicitWidth: 20
implicitHeight: 20
radius: 4

gradient: Gradient
{
Expand All @@ -37,6 +37,23 @@ CheckBox
GradientStop { position: 0.6; color: Dex.CurrentTheme.checkBoxGradientEndColor }
}

DefaultImage {
id: check_icon
x: (parent.width - width) / 2
y: (parent.height - height) / 2
width: parent.width - 6
height: parent.height - 6
source: General.image_path + "white_check.svg"
visible: control.checkState === Qt.Checked
}

DefaultColorOverlay
{
anchors.fill: check_icon
source: check_icon
color: Dex.CurrentTheme.checkBoxTickColor
}

DefaultRectangle
{
visible: !control.checked
Expand All @@ -53,7 +70,6 @@ CheckBox
{
id: _content
Layout.alignment: Qt.AlignVCenter
Layout.preferredWidth: labelWidth
height: _label.height
spacing: 0

Expand All @@ -63,8 +79,6 @@ CheckBox
text: control.text
font: control.font
color: control.textColor
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
verticalAlignment: Text.AlignVCenter
leftPadding: control.indicator.width + control.spacing
wrapMode: Label.Wrap
Expand Down
Loading