-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version: 1.6.3(1000013) => 1.6.4(1000014);
feat: individualized what's new panel; feat: copy from the scratching board; code: removed en_US language since its duplicate with the base profile; code: removed all webview_ready variables and its related codes since now a blank page is, literally, transparent.
- Loading branch information
1 parent
3daa10b
commit 72dda96
Showing
20 changed files
with
344 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import linysText from '../components/linysText'; | ||
import { animation_default } from '../hosts/bunch_of_defaults'; | ||
import { resource_to_string } from '../utils/resource_tools'; | ||
|
||
@Component | ||
struct meowCreditsRepos { | ||
@State credits_repos_and_projs_resource: Resource = $r("app.string.Credits_repos_and_projs"); | ||
@State credits_repos_and_projs: string = resource_to_string(this.credits_repos_and_projs_resource); | ||
@State credits_repos_and_projs_list: string[] = this.credits_repos_and_projs.split('\n'); | ||
|
||
build() { | ||
Column({ space: 8 }) { | ||
linysText({ | ||
text: $r('app.string.Credits'), | ||
max_lines: 3 | ||
}) | ||
|
||
ForEach(this.credits_repos_and_projs_list, (text: string, index: number) => { | ||
linysText({ | ||
text: text, | ||
max_lines: 48 | ||
}) | ||
.opacity(0.8) | ||
}) | ||
} | ||
.alignItems(HorizontalAlign.Start) | ||
.padding(10) | ||
.borderRadius(13.5) | ||
.backgroundColor($r('sys.color.comp_background_tertiary')) | ||
.width("100%") | ||
.animation(animation_default()) | ||
.onAreaChange(() => { | ||
this.update_resource_string(); | ||
}) | ||
} | ||
|
||
/** | ||
* Convert the Resource to string again. | ||
* | ||
* Usually called to deal with the change of language. | ||
* */ | ||
update_resource_string() { | ||
this.credits_repos_and_projs = resource_to_string(this.credits_repos_and_projs_resource); | ||
this.credits_repos_and_projs_list = this.credits_repos_and_projs.split('\n'); | ||
} | ||
} | ||
|
||
export default meowCreditsRepos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import linysText from '../components/linysText'; | ||
import { animation_default } from '../hosts/bunch_of_defaults'; | ||
import { resource_to_string } from '../utils/resource_tools'; | ||
|
||
@Component | ||
struct meowCreditsUsers { | ||
@State credits_devs_and_users_resource: Resource = $r("app.string.Credits_devs_and_users"); | ||
@State credits_devs_and_users: string = resource_to_string(this.credits_devs_and_users_resource); | ||
@State credits_devs_and_users_list: string[] = this.credits_devs_and_users.split('\n'); | ||
|
||
build() { | ||
Column({ space: 8 }) { | ||
linysText({ | ||
text: $r('app.string.Credits_issues'), | ||
max_lines: 3 | ||
}) | ||
|
||
ForEach(this.credits_devs_and_users_list, (text: string, index: number) => { | ||
linysText({ | ||
text: text, | ||
max_lines: 48 | ||
}) | ||
.opacity(0.8) | ||
}) | ||
linysText({ | ||
text: $r("app.string.Credits_extra"), | ||
max_lines: 6 | ||
}) | ||
.opacity(0.8) | ||
} | ||
.alignItems(HorizontalAlign.Start) | ||
.padding(10) | ||
.borderRadius(13.5) | ||
.backgroundColor($r('sys.color.comp_background_tertiary')) | ||
.width("100%") | ||
.animation(animation_default()) | ||
.onAreaChange(() => { | ||
this.update_resource_string(); | ||
}) | ||
} | ||
|
||
/** | ||
* Convert the Resource to string again. | ||
* | ||
* Usually called to deal with the change of language. | ||
* */ | ||
update_resource_string() { | ||
this.credits_devs_and_users = resource_to_string(this.credits_devs_and_users_resource); | ||
this.credits_devs_and_users_list = this.credits_devs_and_users.split('\n'); | ||
} | ||
} | ||
|
||
export default meowCreditsUsers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.