Browse Source

kivy: (trivial) clean-up imports in screens.py

patch-4
SomberNight 4 years ago
parent
commit
9c1a51547a
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 26
      electrum/gui/kivy/uix/screens.py

26
electrum/gui/kivy/uix/screens.py

@ -1,41 +1,25 @@
import asyncio import asyncio
from weakref import ref
from decimal import Decimal from decimal import Decimal
import re
import threading import threading
import traceback, sys
from typing import TYPE_CHECKING, List, Optional, Dict, Any from typing import TYPE_CHECKING, List, Optional, Dict, Any
from kivy.app import App from kivy.app import App
from kivy.cache import Cache
from kivy.clock import Clock from kivy.clock import Clock
from kivy.compat import string_types from kivy.properties import ObjectProperty
from kivy.properties import (ObjectProperty, DictProperty, NumericProperty,
ListProperty, StringProperty)
from kivy.uix.recycleview import RecycleView
from kivy.uix.label import Label
from kivy.uix.behaviors import ToggleButtonBehavior
from kivy.uix.image import Image
from kivy.lang import Builder from kivy.lang import Builder
from kivy.factory import Factory from kivy.factory import Factory
from kivy.utils import platform from kivy.uix.recycleview import RecycleView
from electrum.util import profiler, parse_URI, format_time, InvalidPassword, NotEnoughFunds, Fiat
from electrum.invoices import (PR_TYPE_ONCHAIN, PR_TYPE_LN, PR_DEFAULT_EXPIRATION_WHEN_CREATING, from electrum.invoices import (PR_TYPE_ONCHAIN, PR_TYPE_LN, PR_DEFAULT_EXPIRATION_WHEN_CREATING,
PR_PAID, PR_UNKNOWN, PR_EXPIRED, PR_INFLIGHT, PR_PAID, PR_UNKNOWN, PR_EXPIRED, PR_INFLIGHT,
LNInvoice, pr_expiration_values, Invoice, OnchainInvoice) LNInvoice, pr_expiration_values, Invoice, OnchainInvoice)
from electrum import bitcoin, constants from electrum import bitcoin, constants
from electrum.transaction import Transaction, tx_from_any, PartialTransaction, PartialTxOutput from electrum.transaction import tx_from_any, PartialTxOutput
from electrum.util import parse_URI, InvalidBitcoinURI, TxMinedInfo, maybe_extract_bolt11_invoice, InvoiceError from electrum.util import (parse_URI, InvalidBitcoinURI, TxMinedInfo, maybe_extract_bolt11_invoice,
from electrum.wallet import InternalAddressCorruption InvoiceError, format_time)
from electrum import simple_config
from electrum.lnaddr import lndecode from electrum.lnaddr import lndecode
from electrum.lnutil import RECEIVED, SENT, PaymentFailure
from electrum.logging import Logger from electrum.logging import Logger
from .dialogs.question import Question
from .dialogs.confirm_tx_dialog import ConfirmTxDialog from .dialogs.confirm_tx_dialog import ConfirmTxDialog
from electrum.gui.kivy import KIVY_GUI_PATH from electrum.gui.kivy import KIVY_GUI_PATH

Loading…
Cancel
Save