From 63d9a5f3ca749f4b9b2204b288d11e84886e7f45 Mon Sep 17 00:00:00 2001 From: Krystian Kabat Date: Sun, 27 Jan 2019 14:32:39 +0100 Subject: [PATCH] =?UTF-8?q?Zmieniono=20spos=C3=B3b=20numeracji=20stron,=20?= =?UTF-8?q?od=20teraz=20strona=20pierwsza=20to=201,=20druga=20to=202=20itp?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Magazyn_Client/Magazyn/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Magazyn_Client/Magazyn/MainWindow.xaml.cs b/Magazyn_Client/Magazyn/MainWindow.xaml.cs index 7d09588..80c31bf 100644 --- a/Magazyn_Client/Magazyn/MainWindow.xaml.cs +++ b/Magazyn_Client/Magazyn/MainWindow.xaml.cs @@ -85,7 +85,7 @@ namespace Magazyn private void RefreshListOfFruits() { - pageBlock.Text = page.ToString(); + pageBlock.Text = (page+1).ToString(); Task response = client.GetAsync("https://sysmag.herokuapp.com/api/get-all?page=" + page.ToString() + "&size=" + size.ToString()); while (response.IsCompleted != true) ;