kivy: fix regression
This commit is contained in:
@@ -4,7 +4,7 @@ import re
|
|||||||
import hashlib
|
import hashlib
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from versions import version, version_win, version_mac
|
from versions import version, version_win, version_mac, version_apk
|
||||||
from versions import download_template, download_page
|
from versions import download_template, download_page
|
||||||
|
|
||||||
with open(download_template) as f:
|
with open(download_template) as f:
|
||||||
@@ -13,6 +13,7 @@ with open(download_template) as f:
|
|||||||
string = string.replace("##VERSION##", version)
|
string = string.replace("##VERSION##", version)
|
||||||
string = string.replace("##VERSION_WIN##", version_win)
|
string = string.replace("##VERSION_WIN##", version_win)
|
||||||
string = string.replace("##VERSION_MAC##", version_mac)
|
string = string.replace("##VERSION_MAC##", version_mac)
|
||||||
|
string = string.replace("##VERSION_APK##", version_apk)
|
||||||
|
|
||||||
files = {
|
files = {
|
||||||
'tgz': "Electrum-%s.tar.gz" % version,
|
'tgz': "Electrum-%s.tar.gz" % version,
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ class SettingsDialog(Factory.Popup):
|
|||||||
def unit_dialog(self, item, dt):
|
def unit_dialog(self, item, dt):
|
||||||
if self._unit_dialog is None:
|
if self._unit_dialog is None:
|
||||||
def cb(text):
|
def cb(text):
|
||||||
self._set_bu(text)
|
self.app._set_bu(text)
|
||||||
item.bu = self.app.base_unit
|
item.bu = self.app.base_unit
|
||||||
self._unit_dialog = ChoiceDialog(_('Denomination'), base_units.keys(), self.app.base_unit, cb)
|
self._unit_dialog = ChoiceDialog(_('Denomination'), base_units.keys(), self.app.base_unit, cb)
|
||||||
self._unit_dialog.open()
|
self._unit_dialog.open()
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Builder.load_string('''
|
|||||||
path: ''
|
path: ''
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
|
padding: '10dp'
|
||||||
FileChooserListView:
|
FileChooserListView:
|
||||||
id: wallet_selector
|
id: wallet_selector
|
||||||
dirselect: False
|
dirselect: False
|
||||||
|
|||||||
Reference in New Issue
Block a user