Skip to content

Commit 6969472

Browse files
Use Activity's appFullName where possible
1 parent ef99955 commit 6969472

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

internal_filesystem/apps/com.micropythonos.nostr/META-INF/MANIFEST.JSON

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"publisher": "MicroPythonOS",
44
"short_description": "Nostr",
55
"long_description": "Notest and Other Stuff Transmitted by Relays",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.nostr/icons/com.micropythonos.nostr_0.1.1_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.nostr/mpks/com.micropythonos.nostr_0.1.1.mpk",
6+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.nostr/icons/com.micropythonos.nostr_0.1.2_64x64.png",
7+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.nostr/mpks/com.micropythonos.nostr_0.1.2.mpk",
88
"fullname": "com.micropythonos.nostr",
9-
"version": "0.1.1",
9+
"version": "0.1.2",
1010
"category": "communication",
1111
"activities": [
1212
{

internal_filesystem/apps/com.micropythonos.nostr/assets/nostr_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class NostrApp(Activity):
6969
events_label = None
7070

7171
def onCreate(self):
72-
self.prefs = SharedPreferences("com.micropythonos.nostr")
72+
self.prefs = SharedPreferences(self.appFullName)
7373
self.main_screen = lv.obj()
7474
self.main_screen.set_style_pad_all(10, lv.PART.MAIN)
7575
# Header line

internal_filesystem/builtin/apps/com.micropythonos.settings.hotspot/META-INF/MANIFEST.JSON

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"publisher": "MicroPythonOS",
44
"short_description": "Configure Wi-Fi hotspot settings.",
55
"long_description": "Configure and toggle the device Wi-Fi hotspot, including SSID, security, and network options.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings.hotspot/icons/com.micropythonos.settings.hotspot_0.1.0_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings.hotspot/mpks/com.micropythonos.settings.hotspot_0.1.0.mpk",
6+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings.hotspot/icons/com.micropythonos.settings.hotspot_0.1.1_64x64.png",
7+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings.hotspot/mpks/com.micropythonos.settings.hotspot_0.1.1.mpk",
88
"fullname": "com.micropythonos.settings.hotspot",
9-
"version": "0.1.0",
9+
"version": "0.1.1",
1010
"category": "networking",
1111
"activities": [
1212
{

internal_filesystem/builtin/apps/com.micropythonos.settings.hotspot/assets/hotspot_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class HotspotSettings(Activity):
2424
prefs = None
2525

2626
def onCreate(self):
27-
self.prefs = SharedPreferences("com.micropythonos.settings.hotspot", defaults=self.DEFAULTS)
28-
self.ui_prefs = SharedPreferences("com.micropythonos.settings.hotspot")
27+
self.prefs = SharedPreferences(self.appFullName, defaults=self.DEFAULTS)
28+
self.ui_prefs = SharedPreferences(self.appFullName)
2929
screen = lv.obj()
3030
screen.set_style_border_width(0, lv.PART.MAIN)
3131
screen.set_style_pad_all(DisplayMetrics.pct_of_width(3), lv.PART.MAIN)

internal_filesystem/builtin/apps/com.micropythonos.settings/META-INF/MANIFEST.JSON

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"publisher": "MicroPythonOS",
44
"short_description": "View and change MicroPythonOS settings.",
55
"long_description": "This is the official settings app for MicroPythonOS. It allows you to configure all aspects of MicroPythonOS.",
6-
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings/icons/com.micropythonos.settings_0.1.4_64x64.png",
7-
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings/mpks/com.micropythonos.settings_0.1.4.mpk",
6+
"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings/icons/com.micropythonos.settings_0.1.5_64x64.png",
7+
"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.settings/mpks/com.micropythonos.settings_0.1.5.mpk",
88
"fullname": "com.micropythonos.settings",
9-
"version": "0.1.4",
9+
"version": "0.1.5",
1010
"category": "development",
1111
"activities": [
1212
{

internal_filesystem/builtin/apps/com.micropythonos.settings/assets/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def getIntent(self):
6161
]
6262
intent = Intent()
6363
from mpos import SharedPreferences
64-
intent.putExtra("prefs", SharedPreferences("com.micropythonos.settings"))
64+
intent.putExtra("prefs", SharedPreferences(self.appFullName))
6565
intent.putExtra("settings", [
6666
{
6767
"title": "Wi-Fi",

0 commit comments

Comments
 (0)