修复空值问题
This commit is contained in:
@@ -660,9 +660,9 @@ public class MainActivity extends AppCompatActivity {
|
||||
regFcm();
|
||||
}
|
||||
}
|
||||
facebookUrl = dataInfo.getFbUrl().trim();
|
||||
telegramUrl = dataInfo.getTgUrl().trim();
|
||||
whatsappUrl = dataInfo.getWsUrl().trim();
|
||||
facebookUrl = dataInfo.getFbUrl() == null ? "" : dataInfo.getFbUrl().trim();
|
||||
telegramUrl = dataInfo.getTgUrl() == null ? "" : dataInfo.getTgUrl().trim();
|
||||
whatsappUrl = dataInfo.getWsUrl() == null ? "" : dataInfo.getWsUrl().trim();
|
||||
|
||||
//外链逻辑修改
|
||||
if (!TextUtils.isEmpty(facebookUrl)) {
|
||||
|
||||
Reference in New Issue
Block a user