mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
also switch simplex image for oled black theme
This commit is contained in:
parent
325d341b7f
commit
fb257ef39e
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ class _BUY {
|
|||
|
||||
String simplexLogo(BuildContext context) {
|
||||
return (Theme.of(context).extension<StackColors>()!.themeType ==
|
||||
ThemeType.dark) // TODO make sure this cover OLED black, too
|
||||
ThemeType.dark ||
|
||||
Theme.of(context).extension<StackColors>()!.themeType ==
|
||||
ThemeType
|
||||
.oledBlack) // TODO make sure this cover OLED black, too
|
||||
? "assets/svg/buy/Simplex-Nuvei-Logo-light.svg"
|
||||
: "assets/svg/buy/Simplex-Nuvei-Logo.svg";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue