mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
linux fixes (#3262)
* linux fixes fix: use ints instead of bools in SQLite to prevent crashes on linux fix: disable lightning if it's unsupported ui: start linux app in portrait mode instead of landscape so it looks nicer * minor cleanup --------- Co-authored-by: Omar <omarh.ismail1@gmail.com>
This commit is contained in:
@@ -342,7 +342,7 @@ class _NewReceivePageState extends State<NewReceivePage> {
|
||||
setState(() {
|
||||
_addressItemWithLabel = widget.addressListViewModel.forceRecomputeItems.firstWhereOrNull(
|
||||
(item) => (item is WalletAddressListItem && item.address == newAddress.address))
|
||||
as WalletAddressListItem;
|
||||
as WalletAddressListItem?;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -972,7 +972,7 @@ class _NewSendPageState extends State<NewSendPage> {
|
||||
onNext: (PaymentFlowResult newResult) {
|
||||
final selectedChainId = newResult.chainId;
|
||||
final isCompatible =
|
||||
selectedChainId == evm!.getSelectedChainId(widget.sendViewModel.wallet);
|
||||
selectedChainId == evm?.getSelectedChainId(widget.sendViewModel.wallet);
|
||||
|
||||
if (isCompatible) {
|
||||
widget.sendViewModel.setSelectedCryptoCurrency(
|
||||
|
||||
Reference in New Issue
Block a user