Skip to content

Commit

Permalink
fix: rename app
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev committed Sep 22, 2024
1 parent a21eed5 commit a5299c5
Show file tree
Hide file tree
Showing 38 changed files with 277 additions and 256 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
KEYSTORE: ${{ secrets.KEYSTORE }}
KEY_PROPERTIES: ${{ secrets.KEY_PROPERTIES }}
run: |
echo -ne "$KEYSTORE" | base64 --decode > android/pessoa-bonito.jks && \
echo -ne "$KEYSTORE" | base64 --decode > android/pessoa-pensadora.jks && \
echo "$KEY_PROPERTIES" > android/key.properties
- name: 💎 - Install Flutter
Expand All @@ -44,14 +44,14 @@ jobs:

- name: 🧹 - Cleanup
run: |
rm android/pessoa-bonito.jks android/key.properties
mv build/app/outputs/flutter-apk/app-prod-release.apk PessoaBonito.apk
rm android/pessoa-pensadora.jks android/key.properties
mv build/app/outputs/flutter-apk/app-prod-release.apk PessoaPensadora.apk
- name: 📦 - Copy artifact
uses: actions/upload-artifact@v4
with:
name: PessoaBonito.apk
path: PessoaBonito.apk
name: PessoaPensadora.apk
path: PessoaPensadora.apk
if-no-files-found: error

release:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@semantic-release/github",
{
"assets": [
{ "path": "artifacts/PessoaBonito.apk", "label": "Android App" }
{ "path": "artifacts/PessoaPensadora.apk", "label": "Android App" }
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PessoaBonito
# PessoaPensadora

Uma aplicação para ler os textos de [Fernando Pessoa](https://pt.wikipedia.org/wiki/Fernando_Pessoa), provenientes de [Arquivo Pessoa](http://arquivopessoa.net/).

Expand Down
8 changes: 4 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ android {
}

defaultConfig {
applicationId "me.l3n.pessoabonito.pessoa_bonito"
minSdkVersion 19
applicationId "me.l3n.pessoapensadora.pessoa_pensadora"
minSdkVersion flutter.minSdkVersion
targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

signingConfigs {
release {
def storeFilepath = "pessoa-bonito.jks"
def storeFilepath = "pessoa-pensadora.jks"
def storeFileObj = rootProject.file(storeFilepath)

keyAlias keystoreProperties['keyAlias']
Expand All @@ -68,7 +68,7 @@ android {
}
dev {
dimension "env"
resValue "string", "app_name", "PessoaBonito (dev)"
resValue "string", "app_name", "PessoaPensadora (dev)"
applicationIdSuffix ".dev"
}
}
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="me.l3n.pessoabonito.pessoa_bonito" >
package="me.l3n.pessoapensadora.pessoa_pensadora" >
<application
android:label="Pessoa Bonito (dev)"
android:label="Pessoa Pensadora (dev)"
tools:replace="android:label" />
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.l3n.pessoabonito.pessoa_bonito">
package="me.l3n.pessoapensadora.pessoa_pensadora">
<application
android:label="Pessoa Bonito"
android:label="Pessoa Pensadora"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.l3n.pessoabonito.pessoa_bonito
package me.l3n.pessoapensadora.pessoa_pensadora

import io.flutter.embedding.android.FlutterActivity

Expand Down
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.l3n.pessoabonito.pessoa_bonito">
package="me.l3n.pessoapensadora.pessoa_pensadora">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
2 changes: 1 addition & 1 deletion lib/dto/box/box_person_category.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:hive/hive.dart';
import 'package:pessoa_bonito/model/pessoa_category.dart';
import 'package:pessoa_pensadora/model/pessoa_category.dart';

part 'box_person_category.g.dart';

Expand Down
4 changes: 2 additions & 2 deletions lib/dto/box/box_person_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'dart:collection';

import 'package:get/get.dart';
import 'package:hive/hive.dart';
import 'package:pessoa_bonito/dto/box/box_person_category.dart';
import 'package:pessoa_bonito/model/pessoa_text.dart';
import 'package:pessoa_pensadora/dto/box/box_person_category.dart';
import 'package:pessoa_pensadora/model/pessoa_text.dart';

import '../../service/text_store.dart';

Expand Down
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:hive_flutter/adapters.dart';
import 'package:pessoa_bonito/dto/box/box_person_text.dart';
import 'package:pessoa_bonito/ui/screen/base_screen.dart';
import 'package:pessoa_pensadora/dto/box/box_person_text.dart';
import 'package:pessoa_pensadora/ui/screen/base_screen.dart';

import 'dto/box/box_person_category.dart';
import 'model/saved_text.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/model/pessoa_category.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:pessoa_bonito/model/pessoa_text.dart';
import 'package:pessoa_pensadora/model/pessoa_text.dart';

import '../service/text_store.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/model/pessoa_text.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:json_annotation/json_annotation.dart';
import 'package:pessoa_bonito/model/pessoa_category.dart';
import 'package:pessoa_pensadora/model/pessoa_category.dart';

part 'pessoa_text.g.dart';

Expand Down
6 changes: 3 additions & 3 deletions lib/model/saved_text.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:get/get.dart';
import 'package:hive/hive.dart';
import 'package:pessoa_bonito/dto/box/box_person_text.dart';
import 'package:pessoa_bonito/model/pessoa_text.dart';
import 'package:pessoa_bonito/service/text_store.dart';
import 'package:pessoa_pensadora/dto/box/box_person_text.dart';
import 'package:pessoa_pensadora/model/pessoa_text.dart';
import 'package:pessoa_pensadora/service/text_store.dart';

part 'saved_text.g.dart';

Expand Down
6 changes: 3 additions & 3 deletions lib/repository/collapsable_store.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:collection/collection.dart';
import 'package:get/get.dart';
import 'package:hive/hive.dart';
import 'package:pessoa_bonito/repository/saved_store.dart';
import 'package:pessoa_bonito/service/text_store.dart';
import 'package:pessoa_bonito/util/logger_factory.dart';
import 'package:pessoa_pensadora/repository/saved_store.dart';
import 'package:pessoa_pensadora/service/text_store.dart';
import 'package:pessoa_pensadora/util/logger_factory.dart';

const _savedCollapsableBoxName = 'collapsable';

Expand Down
6 changes: 3 additions & 3 deletions lib/repository/saved_store.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:collection/collection.dart';
import 'package:get/get.dart';
import 'package:hive/hive.dart';
import 'package:pessoa_bonito/model/saved_text.dart';
import 'package:pessoa_bonito/repository/collapsable_store.dart';
import 'package:pessoa_bonito/service/text_store.dart';
import 'package:pessoa_pensadora/model/saved_text.dart';
import 'package:pessoa_pensadora/repository/collapsable_store.dart';
import 'package:pessoa_pensadora/service/text_store.dart';

import '../util/logger_factory.dart';

Expand Down
6 changes: 3 additions & 3 deletions lib/service/text_store.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'dart:convert';

import 'package:flutter/widgets.dart';
import 'package:pessoa_bonito/dto/box/box_person_category.dart';
import 'package:pessoa_bonito/model/pessoa_category.dart';
import 'package:pessoa_bonito/util/logger_factory.dart';
import 'package:pessoa_pensadora/dto/box/box_person_category.dart';
import 'package:pessoa_pensadora/model/pessoa_category.dart';
import 'package:pessoa_pensadora/util/logger_factory.dart';

import '../dto/box/box_person_text.dart';

Expand Down
12 changes: 6 additions & 6 deletions lib/ui/screen/base_screen.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/ui/bonito_theme.dart';
import 'package:pessoa_bonito/ui/routes.dart';
import 'package:pessoa_bonito/ui/screen/history_screen.dart';
import 'package:pessoa_bonito/ui/screen/home_screen.dart';
import 'package:pessoa_bonito/ui/screen/saved_text_reader_screen.dart';
import 'package:pessoa_bonito/ui/screen/saved_texts_screen.dart';
import 'package:pessoa_pensadora/ui/bonito_theme.dart';
import 'package:pessoa_pensadora/ui/routes.dart';
import 'package:pessoa_pensadora/ui/screen/history_screen.dart';
import 'package:pessoa_pensadora/ui/screen/home_screen.dart';
import 'package:pessoa_pensadora/ui/screen/saved_text_reader_screen.dart';
import 'package:pessoa_pensadora/ui/screen/saved_texts_screen.dart';

import 'boot_screen.dart';

Expand Down
14 changes: 7 additions & 7 deletions lib/ui/screen/boot_screen.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/repository/collapsable_store.dart';
import 'package:pessoa_bonito/repository/history_store.dart';
import 'package:pessoa_bonito/repository/read_store.dart';
import 'package:pessoa_bonito/repository/saved_store.dart';
import 'package:pessoa_bonito/service/selection_action_service.dart';
import 'package:pessoa_bonito/service/text_store.dart';
import 'package:pessoa_bonito/ui/routes.dart';
import 'package:pessoa_pensadora/repository/collapsable_store.dart';
import 'package:pessoa_pensadora/repository/history_store.dart';
import 'package:pessoa_pensadora/repository/read_store.dart';
import 'package:pessoa_pensadora/repository/saved_store.dart';
import 'package:pessoa_pensadora/service/selection_action_service.dart';
import 'package:pessoa_pensadora/service/text_store.dart';
import 'package:pessoa_pensadora/ui/routes.dart';

import 'splash_screen.dart';

Expand Down
8 changes: 4 additions & 4 deletions lib/ui/screen/history_screen.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/dto/box/box_person_text.dart';
import 'package:pessoa_bonito/repository/history_store.dart';
import 'package:pessoa_bonito/ui/bonito_theme.dart';
import 'package:pessoa_bonito/ui/screen/splash_screen.dart';
import 'package:pessoa_pensadora/dto/box/box_person_text.dart';
import 'package:pessoa_pensadora/repository/history_store.dart';
import 'package:pessoa_pensadora/ui/bonito_theme.dart';
import 'package:pessoa_pensadora/ui/screen/splash_screen.dart';

import '../../service/text_store.dart';
import '../routes.dart';
Expand Down
22 changes: 11 additions & 11 deletions lib/ui/screen/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import 'dart:async';

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/model/pessoa_text.dart';
import 'package:pessoa_bonito/model/saved_text.dart';
import 'package:pessoa_bonito/service/text_store.dart';
import 'package:pessoa_bonito/ui/widget/navigation_widget.dart';
import 'package:pessoa_bonito/ui/widget/no_text_reader.dart';
import 'package:pessoa_bonito/ui/widget/save_text_button.dart';
import 'package:pessoa_bonito/ui/widget/share_text_button.dart';
import 'package:pessoa_bonito/ui/widget/text_reader.dart';
import 'package:pessoa_bonito/ui/widget/text_selection_drawer.dart';
import 'package:pessoa_bonito/util/generic_extensions.dart';
import 'package:pessoa_bonito/util/logger_factory.dart';
import 'package:pessoa_pensadora/model/pessoa_text.dart';
import 'package:pessoa_pensadora/model/saved_text.dart';
import 'package:pessoa_pensadora/service/text_store.dart';
import 'package:pessoa_pensadora/ui/widget/navigation_widget.dart';
import 'package:pessoa_pensadora/ui/widget/no_text_reader.dart';
import 'package:pessoa_pensadora/ui/widget/save_text_button.dart';
import 'package:pessoa_pensadora/ui/widget/share_text_button.dart';
import 'package:pessoa_pensadora/ui/widget/text_reader.dart';
import 'package:pessoa_pensadora/ui/widget/text_selection_drawer.dart';
import 'package:pessoa_pensadora/util/generic_extensions.dart';
import 'package:pessoa_pensadora/util/logger_factory.dart';

import '../../repository/history_store.dart';

Expand Down
4 changes: 2 additions & 2 deletions lib/ui/screen/saved_text_reader_screen.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/ui/widget/share_text_button.dart';
import 'package:pessoa_bonito/ui/widget/text_reader.dart';
import 'package:pessoa_pensadora/ui/widget/share_text_button.dart';
import 'package:pessoa_pensadora/ui/widget/text_reader.dart';

class TextReaderScreen extends StatelessWidget {
const TextReaderScreen({
Expand Down
12 changes: 6 additions & 6 deletions lib/ui/screen/saved_texts_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_slidable/flutter_slidable.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/dto/box/box_person_category.dart';
import 'package:pessoa_bonito/dto/box/box_person_text.dart';
import 'package:pessoa_bonito/repository/collapsable_store.dart';
import 'package:pessoa_bonito/repository/saved_store.dart';
import 'package:pessoa_bonito/ui/bonito_theme.dart';
import 'package:pessoa_bonito/util/logger_factory.dart';
import 'package:pessoa_pensadora/dto/box/box_person_category.dart';
import 'package:pessoa_pensadora/dto/box/box_person_text.dart';
import 'package:pessoa_pensadora/repository/collapsable_store.dart';
import 'package:pessoa_pensadora/repository/saved_store.dart';
import 'package:pessoa_pensadora/ui/bonito_theme.dart';
import 'package:pessoa_pensadora/util/logger_factory.dart';

import '../routes.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widget/navigation_widget.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/widgets.dart';
import 'package:pessoa_bonito/util/logger_factory.dart';
import 'package:pessoa_pensadora/util/logger_factory.dart';

// Avoids accidental swipe when scrolling
const swipeSensitivity = 16;
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/widget/no_text_reader.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:pessoa_bonito/ui/bonito_theme.dart';
import 'package:pessoa_pensadora/ui/bonito_theme.dart';

class NoTextReader extends StatelessWidget {
const NoTextReader({super.key});
Expand All @@ -8,7 +8,7 @@ class NoTextReader extends StatelessWidget {
Widget build(BuildContext context) {
return Center(
child: Text(
"Arquivo Pessoa (Bonito)",
"Pessoa Pensadora",
style: bonitoTextTheme.displayMedium,
));
}
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/widget/save_text_button.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/model/saved_text.dart';
import 'package:pessoa_bonito/repository/saved_store.dart';
import 'package:pessoa_bonito/util/action_feedback.dart';
import 'package:pessoa_pensadora/model/saved_text.dart';
import 'package:pessoa_pensadora/repository/saved_store.dart';
import 'package:pessoa_pensadora/util/action_feedback.dart';

import '../../repository/read_store.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widget/share_text_button.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/service/selection_action_service.dart';
import 'package:pessoa_pensadora/service/selection_action_service.dart';

class ShareTextButton extends StatelessWidget {
final String text, author;
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/widget/text_reader.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/service/selection_action_service.dart';
import 'package:pessoa_bonito/ui/bonito_theme.dart';
import 'package:pessoa_bonito/util/widget_extensions.dart';
import 'package:pessoa_pensadora/service/selection_action_service.dart';
import 'package:pessoa_pensadora/ui/bonito_theme.dart';
import 'package:pessoa_pensadora/util/widget_extensions.dart';

class TextReader extends StatelessWidget {
final ScrollController _scrollController;
Expand Down
14 changes: 7 additions & 7 deletions lib/ui/widget/text_selection_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import 'dart:async';

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pessoa_bonito/model/pessoa_category.dart';
import 'package:pessoa_bonito/model/pessoa_text.dart';
import 'package:pessoa_bonito/repository/read_store.dart';
import 'package:pessoa_bonito/ui/bonito_theme.dart';
import 'package:pessoa_bonito/ui/widget/drawer_list_view.dart';
import 'package:pessoa_bonito/util/generic_extensions.dart';
import 'package:pessoa_bonito/util/logger_factory.dart';
import 'package:pessoa_pensadora/model/pessoa_category.dart';
import 'package:pessoa_pensadora/model/pessoa_text.dart';
import 'package:pessoa_pensadora/repository/read_store.dart';
import 'package:pessoa_pensadora/ui/bonito_theme.dart';
import 'package:pessoa_pensadora/ui/widget/drawer_list_view.dart';
import 'package:pessoa_pensadora/util/generic_extensions.dart';
import 'package:pessoa_pensadora/util/logger_factory.dart';

import '../routes.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/util/logger_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ final log = Logger(
lineLength: 120,
colors: true,
printEmojis: true,
printTime: true),
dateTimeFormat: DateTimeFormat.dateAndTime),
);
Loading

0 comments on commit a5299c5

Please sign in to comment.