Skip to content

Commit c5107eb

Browse files
authored
Add Settings Page and Menu (#7)
- Add Settings Page - Add Navigation Menu - Add Server Selector
1 parent 82cf57b commit c5107eb

30 files changed

+988
-82
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,16 @@ should take you to the settings area to allow installation if not already enable
7070
3. Log in as you normally would on the website.
7171
4. All Done! You can now share and open files with Django Files.
7272

73+
> [!TIP]
74+
> Swipe from the left to access the Android menu.
75+
7376
To use, share or open any file and choose the Django Files app.
7477
The app will then be upload the file to your Django Files server.
7578
Additionally, the URL is copied to the clipboard and the preview is show in the app.
7679

80+
> [!IMPORTANT]
81+
> If you use 2Factor, Local or GitHub OAuth is recommended.
82+
7783
## Features
7884

7985
- Share or Open any file (or multiple) and automatically copy the URL to the clipboard.

app/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
alias(libs.plugins.android.application)
33
alias(libs.plugins.kotlin.android)
4+
alias(libs.plugins.ksp)
45
}
56

67
android {
@@ -9,7 +10,7 @@ android {
910

1011
defaultConfig {
1112
applicationId = "com.djangofiles.djangofiles"
12-
minSdk = 28
13+
minSdk = 26
1314
targetSdk = 35
1415
versionCode = 1
1516
versionName = "0.0.1"
@@ -40,10 +41,14 @@ android {
4041
}
4142

4243
dependencies {
44+
implementation(libs.room.runtime)
45+
implementation(libs.room.ktx)
46+
ksp(libs.room.compiler)
4347
implementation(libs.androidx.core.ktx)
4448
implementation(libs.androidx.appcompat)
4549
implementation(libs.material)
4650
implementation(libs.okhttp)
51+
implementation(libs.androidx.preference.ktx)
4752
testImplementation(libs.junit)
4853
androidTestImplementation(libs.androidx.junit)
4954
androidTestImplementation(libs.androidx.espresso.core)

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
</intent-filter>
5858

5959
</activity>
60+
<activity android:name=".settings.SettingsActivity" />
61+
6062

6163
</application>
6264

0 commit comments

Comments
 (0)