Skip to content

Commit

Permalink
Rework Settings (#31)
Browse files Browse the repository at this point in the history
* Rework Settings

* Fix country codes

* Fix type issue
  • Loading branch information
derme302 authored Jun 8, 2024
1 parent c3962ba commit 9322891
Show file tree
Hide file tree
Showing 6 changed files with 4,083 additions and 17 deletions.
4 changes: 2 additions & 2 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PODS:
- CapacitorCordova
- CapacitorApp (5.0.6):
- Capacitor
- CapacitorBrowser (5.1.0):
- CapacitorBrowser (5.2.0):
- Capacitor
- CapacitorCordova (5.5.1)
- CapacitorHaptics (5.0.6):
Expand Down Expand Up @@ -46,7 +46,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Capacitor: 9da0a2415e3b6098511f8b5ffdb578d91ee79f8f
CapacitorApp: 024e1b1bea5f883d79f6330d309bc441c88ad04a
CapacitorBrowser: 7a0fb6a1011abfaaf2dfedfd8248f942a8eda3d6
CapacitorBrowser: a6deae9e5bf87f62b62a753cff7992c5def9e771
CapacitorCordova: e128cc7688c070ca0bfa439898a5f609da8dbcfe
CapacitorHaptics: 1fffc1217c7e64a472d7845be50fb0c2f7d4204c
CapacitorKeyboard: b978154b024a5f65e044908e37d15b7de58b9d12
Expand Down
4 changes: 2 additions & 2 deletions src/app/feed/feed.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export class FeedPage {
async openSettings() {
const settings = await this.modalController.create({
component: SettingsComponent,
breakpoints: [0, 0.75],
initialBreakpoint: 0.5
breakpoints: [0, 0.4, 0.7],
initialBreakpoint: 0.4
});

settings.present();
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class SettingsService {
showImages: false,
compressedFeed: false,
locale: 'en-AU',
retrievalTimeout: 2000, // 2 seconds
retrievalTimeout: 5000, // 5 seconds
defaultPollingFrequency: 0, // Unlimited
maxFeedLength: 10
};
Expand Down
Loading

0 comments on commit 9322891

Please sign in to comment.