updated links

This commit is contained in:
vishnuraghavb 2021-10-08 00:16:19 +05:30
parent b0156b1621
commit ba06a08d29
4 changed files with 49 additions and 4834 deletions

View file

@ -11,6 +11,7 @@
<Label class="name tb tc" :text="'EnRecipes' | L" /> <Label class="name tb tc" :text="'EnRecipes' | L" />
<Label :text="getVersion" class="tb tc" /> <Label :text="getVersion" class="tb tc" />
<Label class="info tc tw lh4" text="by Vishnu Raghav B" />
<Label class="info tc tw lh4" :text="'appInfo' | L" /> <Label class="info tc tw lh4" :text="'appInfo' | L" />
</StackLayout> </StackLayout>
</v-template> </v-template>
@ -49,66 +50,71 @@
</template> </template>
<script> <script>
import { Application, Observable, Utils } from "@nativescript/core"; import { Application, Observable, Utils } from '@nativescript/core'
import { mapState } from "vuex"; import { mapState } from 'vuex'
export default { export default {
computed: { computed: {
...mapState(["icon", "RTL"]), ...mapState(['icon', 'RTL']),
items() { items() {
return [ return [
{}, {},
{}, {},
{ {
icon: "gh", icon: 'lang',
title: "gh", title: 'Official Website',
url: "https://github.com/vishnuraghavb/EnRecipes", url: 'https://enrecipes.vercel.app',
},
// {
// icon: 'gh',
// title: 'gh',
// url: 'https://github.com/vishnuraghavb/EnRecipes',
// },
{
icon: 'tg',
title: 'joinTG',
url: 'https://t.me/enrecipes',
}, },
{ {
icon: "tg", icon: 'help',
title: "joinTG", title: 'guide',
url: "https://t.me/enrecipes", url: 'https://github.com/vishnuraghavb/EnRecipes-Wiki/wiki/User-Guide',
}, },
{ {
icon: "help", icon: 'priv',
title: "guide", title: 'priv',
url: "https://github.com/vishnuraghavb/EnRecipes/wiki/User-Guide", url: 'https://github.com/vishnuraghavb/EnRecipes-Wiki/blob/main/PRIVACY.md',
}, },
{ {
icon: "priv", icon: 'don',
title: "priv", title: 'donate',
url: "https://github.com/vishnuraghavb/EnRecipes/blob/main/PRIVACY.md", url: 'https://www.vishnuraghav.com/donate',
},
{
icon: "don",
title: "donate",
url: "https://www.vishnuraghav.com/donate",
},
{
icon: "trans",
title: "trnsl",
url: "https://hosted.weblate.org/projects/enrecipes/app-translations",
}, },
// {
// icon: "trans",
// title: "trnsl",
// url: "https://hosted.weblate.org/projects/enrecipes/app-translations",
// },
{}, {},
]; ]
}, },
getVersion() { getVersion() {
let ctx = Application.android.context; let ctx = Application.android.context
return ( return (
"v" + 'v' +
ctx.getPackageManager().getPackageInfo(ctx.getPackageName(), 0) ctx.getPackageManager().getPackageInfo(ctx.getPackageName(), 0)
.versionName .versionName
); )
}, },
}, },
methods: { methods: {
pgLoad({ object }) { pgLoad({ object }) {
object.bindingContext = new Observable(); object.bindingContext = new Observable()
}, },
touch({ object, action }, url) { touch({ object, action }, url) {
this.touchFade(object, action); this.touchFade(object, action)
if (action == "up") Utils.openUrl(url); if (action == 'up') Utils.openUrl(url)
}, },
}, },
}; }
</script> </script>

View file

@ -60,14 +60,14 @@ export default {
subTitle: localize(this.layout), subTitle: localize(this.layout),
action: this.setLayoutMode, action: this.setLayoutMode,
}, },
{ // {
type: "list", // type: "list",
icon: "layout", // icon: "layout",
rtl: 0, // rtl: 0,
title: "mSystem", // title: "mSystem",
subTitle: localize(this.mSystem), // subTitle: localize(this.mSystem),
action: this.setMSystem, // action: this.setMSystem,
}, // },
{}, {},
]; ];
}, },

View file

@ -16,7 +16,7 @@
android { android {
defaultConfig { defaultConfig {
versionCode 2 versionCode 2
versionName '2.1.0' versionName '2.0.1'
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 30 targetSdkVersion 30
compileSdkVersion 30 compileSdkVersion 30

4793
package-lock.json generated

File diff suppressed because it is too large Load diff