mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Using alias rather than var for JsonAdapter
This commit is contained in:
@@ -11,8 +11,8 @@ Singleton {
|
||||
|
||||
property string githubDataFile: Quickshell.env("NOCTALIA_GITHUB_FILE") || (Settings.cacheDir + "github.json")
|
||||
property int githubUpdateFrequency: 60 * 60 // 1 hour expressed in seconds
|
||||
property var data: adapter // Used to access via GitHubService.data.xxx.yyy
|
||||
property bool isFetchingData: false
|
||||
property alias data: adapter // Used to access via GitHubService.data.xxx.yyy
|
||||
|
||||
// Public properties for easy access
|
||||
property string latestVersion: "Unknown"
|
||||
|
||||
@@ -11,8 +11,8 @@ Singleton {
|
||||
|
||||
property string locationFile: Quickshell.env("NOCTALIA_WEATHER_FILE") || (Settings.cacheDir + "location.json")
|
||||
property int weatherUpdateFrequency: 30 * 60 // 30 minutes expressed in seconds
|
||||
property var data: adapter // Used to access via LocationService.data.xxx
|
||||
property bool isFetchingWeather: false
|
||||
property alias data: adapter // Used to access via LocationService.data.xxx
|
||||
|
||||
FileView {
|
||||
path: locationFile
|
||||
|
||||
Reference in New Issue
Block a user