Skip to content

Commit 00dd955

Browse files
authored
fixed some typos (#209)
1 parent 93ddd27 commit 00dd955

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

app/src/main/java/com/hapramp/notification/NotificationHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private static void showReblogDirectedNotification(String notificationId, String
141141
//you are the author of the post
142142
String author = HaprampPreferenceManager.getInstance().getCurrentSteemUsername();
143143
String title = "Reblog";
144-
String content = reblogger + " rebloged your post";
144+
String content = reblogger + " shared your post";
145145
PendingIntent pendingIntent = getPostNotificationPendingIntent(context, notificationId, author, permlink);
146146
addNotificationToTray(HapRampMain.getContext(), pendingIntent, title, content);
147147
}
@@ -185,7 +185,7 @@ private static void showVoteDirectedNotification(String notificationId, String v
185185
private static void showTransferDirectedNotification(String notificationId, String sender, String memo, String amount) {
186186
Context context = HapRampMain.getContext();
187187
String title = "Transfer";
188-
String content = sender + " sent you " + amount + "\n \"" + memo + "\"\n";
188+
String content = sender + " sent you " + amount + "\n\"" + memo + "\"\n";
189189
PendingIntent pendingIntent = getTransferPendingIntent(context, notificationId);
190190
addNotificationToTray(HapRampMain.getContext(), pendingIntent, title, content);
191191
}
@@ -200,7 +200,7 @@ private static void showMentionDirectedNotification(String notificationId, Strin
200200
//you are the author of the post
201201
String author = HaprampPreferenceManager.getInstance().getCurrentSteemUsername();
202202
String title = "Mention";
203-
String content = mentioner + " Mentioned you in a post";
203+
String content = mentioner + " mentioned you in a post";
204204
PendingIntent pendingIntent = getPostNotificationPendingIntent(context, notificationId, author, permlink);
205205
addNotificationToTray(HapRampMain.getContext(), pendingIntent, title, content);
206206
}

app/src/main/java/com/hapramp/steem/LocalConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
public class LocalConfig {
88
public static final String PARENT_PERMALINK = "hapramp";
9-
public static final String APP_TAG = "hapramp/0.0.15";
9+
public static final String APP_TAG = "1ramp/0.0.16";
1010
}

app/src/main/java/com/hapramp/ui/fragments/UserInfoFragment.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,7 @@ private void setFollowerCount(int count) {
522522
}
523523

524524
private void setFollowingCount(int count) {
525-
String followingText = count > 1 ?
526-
String.format(getContext().getString(R.string.profile_following_count_text_plural), count) :
527-
String.format(getContext().getString(R.string.profile_following_count_text_singular), count);
525+
String followingText = String.format(getContext().getString(R.string.profile_following_count_text_singular), count);
528526
if (followersCountTv != null) {
529527
followingsCountTv.setText(followingText);
530528
}

app/src/main/res/layout/fragment_competition.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
android:textSize="16sp"
2424
android:layout_below="@+id/competitionslabel"
2525
android:textColor="@color/Black54"
26-
android:text="Comming soon!" />
26+
android:text="Coming soon!" />
2727

2828
</RelativeLayout>

app/src/main/res/layout/user_info_fragment.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
android:clickable="true"
186186
android:gravity="center"
187187
android:padding="16dp"
188-
android:text="0 Followings"
188+
android:text="0 Following"
189189
android:textColor="@color/Black38"
190190
android:textStyle="bold" />
191191

0 commit comments

Comments
 (0)