mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-17 02:33:27 +01:00
[Widgets]: Enhanced to isolate operations from multiple views of same widget type
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
/// Simulator data generator
|
||||
#if DEBUG
|
||||
#if targetEnvironment(simulator)
|
||||
@available(iOS 17, *)
|
||||
extension ActiveAppsTimelineProvider {
|
||||
|
||||
@@ -18,7 +18,7 @@ extension ActiveAppsTimelineProvider {
|
||||
// this dummy data is for simulator (uncomment when testing ActiveAppsWidget pagination)
|
||||
if (apps.count > 0){
|
||||
let app = apps[0]
|
||||
for i in 0..<10 {
|
||||
for i in 1...10 {
|
||||
let name = "\(app.name) - \(i)"
|
||||
let x = AppSnapshot(name: name,
|
||||
bundleIdentifier: app.bundleIdentifier,
|
||||
|
||||
Reference in New Issue
Block a user