mirror of
https://github.com/yattee/yattee.git
synced 2025-04-28 16:00:33 +05:30
Merge pull request #596 from stonerl/update-defaults
Update defaults to 7.3.1
This commit is contained in:
commit
5ae18a5170
@ -116,14 +116,14 @@ struct HomeView: View {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
.onAppear {
|
.onAppear {
|
||||||
Defaults.observe(.favorites) { _ in
|
Task {
|
||||||
|
for await _ in Defaults.updates(.favorites) {
|
||||||
favoritesChanged.toggle()
|
favoritesChanged.toggle()
|
||||||
}
|
}
|
||||||
.tieToLifetime(of: accounts)
|
for await _ in Defaults.updates(.widgetsSettings) {
|
||||||
Defaults.observe(.widgetsSettings) { _ in
|
|
||||||
favoritesChanged.toggle()
|
favoritesChanged.toggle()
|
||||||
}
|
}
|
||||||
.tieToLifetime(of: accounts)
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.redrawOn(change: favoritesChanged)
|
.redrawOn(change: favoritesChanged)
|
||||||
|
@ -4627,7 +4627,7 @@
|
|||||||
repositoryURL = "https://github.com/sindresorhus/Defaults";
|
repositoryURL = "https://github.com/sindresorhus/Defaults";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = upToNextMajorVersion;
|
kind = upToNextMajorVersion;
|
||||||
minimumVersion = 6.0.0;
|
minimumVersion = 7.0.0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
372AA40E286D067B0000B1DC /* XCRemoteSwiftPackageReference "Repeat" */ = {
|
372AA40E286D067B0000B1DC /* XCRemoteSwiftPackageReference "Repeat" */ = {
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/sindresorhus/Defaults",
|
"location" : "https://github.com/sindresorhus/Defaults",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "981ccb0a01c54abbe3c12ccb8226108527bbf115",
|
"revision" : "3efef5a28ebdbbe922d4a2049493733ed14475a6",
|
||||||
"version" : "6.3.0"
|
"version" : "7.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user