FE version bump and minor copy updates (#2517)

version bump and minor copy updates
This commit is contained in:
Matt Hill
2023-11-15 12:17:33 -07:00
committed by GitHub
parent a1495dd33d
commit 417053a6a2
8 changed files with 33 additions and 14 deletions

View File

@@ -27,8 +27,8 @@
<ion-label>
<h2>{{ server.zram ? 'Disable' : 'Enable' }} zram</h2>
<p>
Enabling zram may improve server performance, especially on low RAM
devices
Zram creates compressed swap in memory, resulting in faster I/O for
low RAM devices
</p>
</ion-label>
</ion-item>

View File

@@ -65,10 +65,10 @@ export class ExperimentalFeaturesPage {
async presentAlertZram(enabled: boolean) {
const alert = await this.alertCtrl.create({
header: enabled ? 'Confirm' : 'Warning',
header: 'Confirm',
message: enabled
? 'Are you sure you want to disable zram?'
: 'zram on StartOS is experimental. It may increase performance of you server, especially if it is a low RAM device.',
? 'Are you sure you want to disable zram? It provides significant performance benefits on low RAM devices.'
: 'Enable zram? It will only make a difference on lower RAM devices.',
buttons: [
{
text: 'Cancel',
@@ -82,7 +82,6 @@ export class ExperimentalFeaturesPage {
cssClass: 'enter-click',
},
],
cssClass: enabled ? '' : 'alert-warning-message',
})
await alert.present()
}
@@ -122,7 +121,7 @@ export class ExperimentalFeaturesPage {
private async toggleZram(enabled: boolean) {
const loader = await this.loadingCtrl.create({
message: enabled ? 'Disabling zram...' : 'Enabling zram',
message: enabled ? 'Disabling zram...' : 'Enabling zram...',
})
await loader.present()