Using alias rather than var for JsonAdapter
This commit is contained in:
parent
7791ee3c0d
commit
15a67ca5cc
3 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ Singleton {
|
|||
property string defaultAvatar: Quickshell.env("HOME") + "/.face"
|
||||
|
||||
// Used to access via Settings.data.xxx.yyy
|
||||
property var data: adapter
|
||||
property alias data: adapter
|
||||
|
||||
// Flag to prevent unnecessary wallpaper calls during reloads
|
||||
property bool isInitialLoad: true
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue