mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 12:47:26 +01:00
Support 2FA. Fixed time parsing in messages.
This commit is contained in:
parent
6d66f9504e
commit
c7b09f223e
@ -87,7 +87,7 @@ class FetchMessages {
|
||||
|
||||
Calendar submitTimeCalendar = Calendar.getInstance();
|
||||
submitTimeCalendar.setTimeInMillis(timeUTC);
|
||||
String formattedTime = new SimpleDateFormat("MMM d, YYYY, HH:mm",
|
||||
String formattedTime = new SimpleDateFormat("MMM d, yyyy, HH:mm",
|
||||
locale).format(submitTimeCalendar.getTime());
|
||||
|
||||
messages.add(new Message(kind, subredditName, subredditNamePrefixed, id, fullname, subject,
|
||||
|
@ -92,6 +92,7 @@ public class LoginActivity extends AppCompatActivity {
|
||||
|
||||
WebView webView = findViewById(R.id.webview_login_activity);
|
||||
webView.getSettings().setJavaScriptEnabled(true);
|
||||
webView.getSettings().setDomStorageEnabled(true);
|
||||
|
||||
Uri baseUri = Uri.parse(RedditUtils.OAUTH_URL);
|
||||
Uri.Builder uriBuilder = baseUri.buildUpon();
|
||||
|
@ -273,6 +273,7 @@
|
||||
<string name="settings_theme_system_default_summary">Device default</string>
|
||||
<string name="settings_lazy_mode_interval_title">Lazy Mode Interval</string>
|
||||
<string name="settings_enable_nsfw_title">Enable NSFW</string>
|
||||
<string name="settings_layout_no_limits_title">Display under navigation bar and status bar</string>
|
||||
<string name="settings_about_master_title">About</string>
|
||||
<string name="settings_acknowledgement_master_title">Acknowledgement</string>
|
||||
<string name="settings_credits_master_title">Credits</string>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="nsfw"
|
||||
app:title="@string/settings_enable_nsfw_title"/>
|
||||
app:title="@string/settings_enable_nsfw_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_about_master_title"
|
||||
|
Loading…
Reference in New Issue
Block a user