updated Online Formatter
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package ru.vtosters.lite.utils;
|
||||
|
||||
import static ru.vtosters.lite.utils.Globals.getString;
|
||||
|
||||
public class OnlineFormatter {
|
||||
public static String getOnline(int appid){
|
||||
public static String getAppName(int appid){
|
||||
switch (appid) {
|
||||
case 2274003:
|
||||
return "VK for Android";
|
||||
@@ -80,4 +82,12 @@ public class OnlineFormatter {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getOnline(int appid){
|
||||
var appname = getAppName(appid);
|
||||
|
||||
if (appname == null) return null;
|
||||
|
||||
return getString("custom_online") + " " + appname;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user