[Widgets]: (complete) Fixed previous pagination issues for ActiveAppsWidget

This commit is contained in:
Magesh K
2025-01-09 18:50:44 +05:30
parent 46871f63ed
commit 4e10527f03
7 changed files with 154 additions and 174 deletions

View File

@@ -55,7 +55,7 @@ extension View
}
@ViewBuilder
func pageUpButton(widgetID: String) -> some View {
func pageUpButton(_ widgetID: String) -> some View {
if #available(iOSApplicationExtension 17, *) {
Button(intent: PaginationIntent(.up, widgetID)){
self
@@ -67,7 +67,7 @@ extension View
}
@ViewBuilder
func pageDownButton(widgetID: String) -> some View {
func pageDownButton(_ widgetID: String) -> some View {
if #available(iOSApplicationExtension 17, *) {
Button(intent: PaginationIntent(.down, widgetID)){
self